0.8.102 - 2024-04-01

* fix NTP for `opendtufusion` #1542
* fix scan WiFi in AP mode
This commit is contained in:
lumapu 2024-04-01 14:54:08 +02:00
parent 2a4c83647a
commit bcc52c793c
14 changed files with 44 additions and 46 deletions

View file

@ -62,7 +62,6 @@ void app::setup() {
#endif // ETHERNET
mNetwork->setup(mConfig, &mTimestamp, [this](bool gotIp) { this->onNetwork(gotIp); }, [this](bool gotTime) { this->onNtpUpdate(gotTime); });
mNetwork->begin();
everySec(std::bind(&AhoyNetwork::tickNetworkLoop, mNetwork), "net");
esp_task_wdt_reset();
@ -176,6 +175,7 @@ void app::regularTickers(void) {
DPRINTLN(DBG_DEBUG, F("regularTickers"));
everySec(std::bind(&WebType::tickSecond, &mWeb), "webSc");
everySec([this]() { mProtection->tickSecond(); }, "prot");
everySec([this]() {mNetwork->tickNetworkLoop(); }, "net");
// Plugins
#if defined(PLUGIN_DISPLAY)