diff --git a/src/SystemClock.cpp b/src/SystemClock.cpp index 58d8b0f..f57bc01 100644 --- a/src/SystemClock.cpp +++ b/src/SystemClock.cpp @@ -171,6 +171,8 @@ void SystemClock::updateRtc() ); } +#endif // IOT_SYSTEM_CLOCK_HW_RTC + void SystemClock::sychronizeCLibClock() { _log.info("synchronizing clock of C Runtime Library"); @@ -188,8 +190,6 @@ void SystemClock::sychronizeCLibClock() _log.debug("result of time(): %ld", time(nullptr)); } -#endif // IOT_SYSTEM_CLOCK_HW_RTC - bool SystemClock::isDst(const std::time_t t) { const auto tm = gmtime(&t);