periods
This commit is contained in:
@ -64,7 +64,7 @@ void my_setup_2() {
|
|||||||
|
|
||||||
// cmdHandlerInit();
|
// cmdHandlerInit();
|
||||||
|
|
||||||
schAdd(second_tick, NULL, 0, 60*1000);
|
schAdd(second_tick, NULL, 0, 1000);
|
||||||
|
|
||||||
|
|
||||||
HAL_TIM_IC_Start_IT(&mainsCnt, TIM_CHANNEL_1);
|
HAL_TIM_IC_Start_IT(&mainsCnt, TIM_CHANNEL_1);
|
||||||
|
@ -213,7 +213,7 @@ static void wizPhyLinkHandler(void *handle) {
|
|||||||
dhcpInitialized = true;
|
dhcpInitialized = true;
|
||||||
|
|
||||||
|
|
||||||
schAdd(wizSNTPHandler, NULL, 0, 10*1000);
|
schAdd(wizSNTPHandler, NULL, 0, 60*1000);
|
||||||
coloredMsg(LOG_BLUE, "wizplh, SNTP handler scheduled");
|
coloredMsg(LOG_BLUE, "wizplh, SNTP handler scheduled");
|
||||||
|
|
||||||
sntpInitialized = true;
|
sntpInitialized = true;
|
||||||
|
Reference in New Issue
Block a user