sntp request frequency changed

This commit is contained in:
Wolfgang Hottgenroth 2021-02-08 12:32:30 +01:00
parent d9f2904cef
commit 28922f6944
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -178,7 +178,7 @@ static void wizSNTPHandler(void *handle) {
}
}
uint8_t tryAgainIn = (success) ? 60 : 1;
uint8_t tryAgainIn = (success) ? 3600 : 1;
schAdd(wizSNTPHandler, NULL, tryAgainIn * 1000, 0);
coloredMsg(LOG_BLUE, "wizsh, next sntp request in %d seconds", tryAgainIn);
}