Browse Source

Add If statement with a todo note...

pull/202/head
DanielR92 3 years ago
committed by GitHub
parent
commit
4ab16762a5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      tools/esp8266/app.cpp

5
tools/esp8266/app.cpp

@ -60,6 +60,11 @@ void app::loop(void) {
if(!apActive) {
mTimestamp = mWifi->getNtpTime();
DPRINTLN(DBG_INFO, "[NTP]: " + getDateTimeStr(mTimestamp));
if(!mTimestamp) // if mTimestamp is 0
{
// Todo: when no connection, then use standard ntp
}
}
}
}

Loading…
Cancel
Save