mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-30 01:06:11 +02:00
reneabled instant start communication (once NTP is synced) #674
fix negative number in yield total correction
This commit is contained in:
parent
32daf4f8ea
commit
15bc5f2b50
3 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue