time request every five minutes
This commit is contained in:
@ -31,7 +31,7 @@ static void networkSecondsHandler(void *handle) {
|
||||
coloredMsg(LOG_YELLOW, "nsh, failed");
|
||||
seconds.missedUpdates += 1;
|
||||
}
|
||||
} else if (tryAgain || ((seconds.seconds % 3600) == 0)) {
|
||||
} else if (tryAgain || ((seconds.seconds % 300) == 0)) {
|
||||
coloredMsg(LOG_YELLOW, "nsh, periodically querying time");
|
||||
uint64_t tmpSeconds = networkSntpQuery();
|
||||
if (tmpSeconds != 0) {
|
||||
|
Reference in New Issue
Block a user