rejoe2 2 years ago
committed by GitHub
parent
commit
6b5dfeec08
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/app.cpp
  2. 1
      src/app.h

2
src/app.cpp

@ -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)

1
src/app.h

@ -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);

Loading…
Cancel
Save