reneabled instant start communication (once NTP is synced) #674

fix negative number in yield total correction
This commit is contained in:
lumapu 2023-02-12 12:46:00 +01:00
parent 32daf4f8ea
commit 15bc5f2b50
3 changed files with 5 additions and 4 deletions

View file

@ -181,11 +181,11 @@ void app::tickNtpUpdate(void) {
}
// immediately start communicating
// @TODO: leads to reboot loops, everytime if there is no asynchronous function #674
/*if(isOK && mSendFirst) {
// @TODO: leads to reboot loops? not sure #674
if(isOK && mSendFirst) {
mSendFirst = false;
once(std::bind(&app::tickSend, this), 2, "senOn");
}*/
}
mMqttReconnect = false;
}