mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-30 17:26:12 +02:00
0.8.102 - 2024-04-01
* fix NTP for `opendtufusion` #1542 * fix scan WiFi in AP mode
This commit is contained in:
parent
2a4c83647a
commit
bcc52c793c
14 changed files with 44 additions and 46 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue