mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-30 01:06:11 +02:00
fix MqTT client ID
This commit is contained in:
parent
a0879cfcbe
commit
b6a41506b6
2 changed files with 4 additions and 4 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue