Merge pull request #982 from TomRottler/master

Using the device specific h files instead of  RtcDateTime.h directly as mentioned by Makuna
This commit is contained in:
Verkehrsrot 2023-07-02 21:09:10 +02:00 committed by GitHub
commit f262e6bb1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View File

@ -6,8 +6,7 @@
// Time functions // Time functions
#ifdef HAS_RTC #ifdef HAS_RTC
#include <RtcUtility.h> #include <RtcDS3231.h>
#include <RtcDateTime.h>
#endif #endif
#include <Ticker.h> #include <Ticker.h>

View File

@ -4,7 +4,6 @@
#ifdef HAS_RTC #ifdef HAS_RTC
#include <Wire.h> // must be included here so that Arduino library object file references work #include <Wire.h> // must be included here so that Arduino library object file references work
#include <RtcDS3231.h>
#include "globals.h" #include "globals.h"
#include "timekeeper.h" #include "timekeeper.h"