| 46 | // ntpClientDemo dm1; |
| 47 | |
| 48 | void onPrintSystemTime() |
| 49 | { |
| 50 | Serial << _F("Local Time: ") << SystemClock.getSystemTimeString(eTZ_Local) << _F(", UTC Time: ") |
| 51 | << SystemClock.getSystemTimeString(eTZ_UTC) << endl; |
| 52 | } |
| 53 | |
| 54 | // Called when time has been received by NtpClient (option 1 or 2) |
| 55 | // Either after manual requestTime() or when |
nothing calls this directly
no test coverage detected