This commit is contained in:
2021-02-07 19:15:41 +01:00
parent 07a918d8c3
commit fef7d14506
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ void my_setup_2() {
// cmdHandlerInit();
schAdd(second_tick, NULL, 0, 60*1000);
schAdd(second_tick, NULL, 0, 1000);
HAL_TIM_IC_Start_IT(&mainsCnt, TIM_CHANNEL_1);

View File

@ -213,7 +213,7 @@ static void wizPhyLinkHandler(void *handle) {
dhcpInitialized = true;
schAdd(wizSNTPHandler, NULL, 0, 10*1000);
schAdd(wizSNTPHandler, NULL, 0, 60*1000);
coloredMsg(LOG_BLUE, "wizplh, SNTP handler scheduled");
sntpInitialized = true;