diff --git a/cube/User/Src/main2.c b/cube/User/Src/main2.c index 9dbbe3f..45844b3 100644 --- a/cube/User/Src/main2.c +++ b/cube/User/Src/main2.c @@ -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); diff --git a/cube/User/Src/wizHelper.c b/cube/User/Src/wizHelper.c index 03fe735..e863350 100644 --- a/cube/User/Src/wizHelper.c +++ b/cube/User/Src/wizHelper.c @@ -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;