This commit is contained in:
2021-02-08 13:13:05 +01:00
parent 388d7fa7ab
commit f2a3d2edc4
5 changed files with 56 additions and 10 deletions

View File

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