From fef7d145061754da0d60d026103fb1e7b98a2b48 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Sun, 7 Feb 2021 19:15:41 +0100 Subject: [PATCH] periods --- cube/User/Src/main2.c | 2 +- cube/User/Src/wizHelper.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;