diff --git a/src/app.cpp b/src/app.cpp index 82519e1d..5fbb5cf0 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -80,12 +80,13 @@ void app::setup() { //----------------------------------------------------------------------------- void app::loop(void) { - DPRINTLN(DBG_VERBOSE, F("app::loop")); mInnerLoopCb(); } //----------------------------------------------------------------------------- void app::loopStandard(void) { + ah::Scheduler::loop(); + mSys->Radio.loop(); mPayload.loop(); @@ -124,14 +125,13 @@ void app::loopStandard(void) { //----------------------------------------------------------------------------- void app::loopWifi(void) { - DPRINTLN(DBG_VERBOSE, F("app::loop Wifi")); - ah::Scheduler::loop(); yield(); } //----------------------------------------------------------------------------- void app::onWifi(bool gotIp) { + DPRINTLN(DBG_DEBUG, F("onWifi")); ah::Scheduler::resetTicker(); regularTickers(); // reinstall regular tickers if (gotIp) { @@ -148,6 +148,7 @@ void app::onWifi(bool gotIp) { //----------------------------------------------------------------------------- void app::regularTickers(void) { + DPRINTLN(DBG_DEBUG, F("regularTickers")); everySec(std::bind(&WebType::tickSecond, &mWeb)); // Plugins #if defined(ENA_NOKIA) || defined(ENA_SSD1306) || defined(ENA_SH1106) diff --git a/src/defines.h b/src/defines.h index c2d307a1..bc3ce3a5 100644 --- a/src/defines.h +++ b/src/defines.h @@ -13,7 +13,7 @@ //------------------------------------- #define VERSION_MAJOR 0 #define VERSION_MINOR 5 -#define VERSION_PATCH 71 +#define VERSION_PATCH 72 //------------------------------------- typedef struct {