From 97b8b0be27e7cda477b55c6aa31ee74220e03bc0 Mon Sep 17 00:00:00 2001 From: Sander Speetjens Date: Mon, 26 Dec 2022 18:22:42 +0100 Subject: [PATCH] Change some debug --- NTP/Core/Src/app_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NTP/Core/Src/app_main.c b/NTP/Core/Src/app_main.c index 7616e83..1c9b230 100644 --- a/NTP/Core/Src/app_main.c +++ b/NTP/Core/Src/app_main.c @@ -55,9 +55,9 @@ void app_main(void *argument) DS3231_GetTime(&utc); if ((utc.Hour == 0) && (utc.Minute == 0) && (utc.Second == 0) && sBefore == 59) { - debugln("Updating time"); + debugln(" \nUpdating time"); breakTime(NTPToEpochUnix(), &utc, 0); - printf(" \n \n \n"); + printf(" \n \n \n \n"); Ts_To_RTC(&utc, &sTime, &sDate); Set_Time(sTime, sDate); DS3231_SetTime(&utc);