fix
This commit is contained in:
parent
ddc62e7e29
commit
d9f2904cef
@ -178,8 +178,9 @@ static void wizSNTPHandler(void *handle) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t tryAgainIn = (success) ? 60 * 1000 : 1000;
|
uint8_t tryAgainIn = (success) ? 60 : 1;
|
||||||
schAdd(wizSNTPHandler, NULL, tryAgainIn, 0);
|
schAdd(wizSNTPHandler, NULL, tryAgainIn * 1000, 0);
|
||||||
|
coloredMsg(LOG_BLUE, "wizsh, next sntp request in %d seconds", tryAgainIn);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void wizSecondsHandler(void *handle) {
|
static void wizSecondsHandler(void *handle) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user