sntp request frequency changed
This commit is contained in:
parent
d9f2904cef
commit
28922f6944
@ -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);
|
schAdd(wizSNTPHandler, NULL, tryAgainIn * 1000, 0);
|
||||||
coloredMsg(LOG_BLUE, "wizsh, next sntp request in %d seconds", tryAgainIn);
|
coloredMsg(LOG_BLUE, "wizsh, next sntp request in %d seconds", tryAgainIn);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user