fix MqTT client ID

This commit is contained in:
lumapu 2023-02-14 22:35:33 +01:00
parent a0879cfcbe
commit b6a41506b6
2 changed files with 4 additions and 4 deletions

View file

@ -183,7 +183,7 @@ void app::tickNtpUpdate(void) {
bool isOK = mWifi.getNtpTime();
if (isOK || mTimestamp != 0) {
if (mMqttReconnect && mMqttEnabled) {
mMqtt.tickerMinute();
mMqtt.tickerSecond();
everySec(std::bind(&PubMqttType::tickerSecond, &mMqtt), "mqttS");
everyMin(std::bind(&PubMqttType::tickerMinute, &mMqtt), "mqttM");
}