From 6c2c067e7cd5024cc16bdda599110be0ee301bc4 Mon Sep 17 00:00:00 2001 From: Tom Date: Sun, 2 Jul 2023 18:12:11 +0200 Subject: [PATCH 1/2] Update globals.h As mentioned by Makuna of RTC library project. --- include/globals.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/globals.h b/include/globals.h index dc7316b9..1e8a0675 100644 --- a/include/globals.h +++ b/include/globals.h @@ -6,8 +6,7 @@ // Time functions #ifdef HAS_RTC -#include -#include +#include #endif #include @@ -114,4 +113,4 @@ typedef struct { extern char clientId[20]; // unique clientID -#endif \ No newline at end of file +#endif From 67b44922205292cbc1440eb4087b57866aa8f52c Mon Sep 17 00:00:00 2001 From: Tom Date: Sun, 2 Jul 2023 18:13:07 +0200 Subject: [PATCH 2/2] Update rtctime.h As mentioned by Makuna of RTC library --- include/rtctime.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/rtctime.h b/include/rtctime.h index 802b06ee..cf915bda 100644 --- a/include/rtctime.h +++ b/include/rtctime.h @@ -4,7 +4,6 @@ #ifdef HAS_RTC #include // must be included here so that Arduino library object file references work -#include #include "globals.h" #include "timekeeper.h" @@ -19,4 +18,4 @@ float get_rtctemp(void); #endif -#endif // _RTCTIME_H \ No newline at end of file +#endif // _RTCTIME_H