time request every five minutes

This commit is contained in:
2021-02-24 23:22:32 +01:00
parent 685082ae03
commit b272c6a2d0

View File

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