Merge branch 'rejoe2-development03' into development03

This commit is contained in:
lumapu 2023-09-27 19:56:58 +02:00
commit 440732eaa9
2 changed files with 2 additions and 1 deletions

View file

@ -187,6 +187,8 @@ void app::loop(void) {
void app::onNetwork(bool gotIp) {
DPRINTLN(DBG_DEBUG, F("onNetwork"));
mNetworkConnected = gotIp;
ah::Scheduler::resetTicker();
regularTickers(); //reinstall regular tickers
every(std::bind(&app::tickSend, this), mConfig->nrf.sendInterval, "tSend");
#if defined(ESP32)
if(mConfig->cmt.enabled)

View file

@ -65,7 +65,6 @@ class app : public IApp, public ah::Scheduler {
void setup(void);
void loop(void);
void loopStandard(void);
void onNetwork(bool gotIp);
void regularTickers(void);