mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-23 19:27:13 +02:00
started to add heuristics as an extra class (for now global not inverter independent)
This commit is contained in:
parent
7a97124bf7
commit
92855a7f0c
3 changed files with 170 additions and 8 deletions
|
@ -205,8 +205,8 @@ void app::onNetwork(bool gotIp) {
|
|||
every(std::bind(&app::tickSend, this), mConfig->nrf.sendInterval, "tSend");
|
||||
mMqttReconnect = true;
|
||||
mSunrise = 0; // needs to be set to 0, to reinstall sunrise and ivComm tickers!
|
||||
//once(std::bind(&app::tickNtpUpdate, this), 2, "ntp2");
|
||||
tickNtpUpdate();
|
||||
once(std::bind(&app::tickNtpUpdate, this), 2, "ntp2");
|
||||
//tickNtpUpdate();
|
||||
#if !defined(ETHERNET)
|
||||
if (WIFI_AP == WiFi.getMode()) {
|
||||
mMqttEnabled = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue