Reduce static RAM usage (#2140)

This commit is contained in:
Oxan van Leeuwen
2021-08-23 10:43:54 +02:00
committed by GitHub
parent 2f33cd2db5
commit d71996e58d
6 changed files with 113 additions and 82 deletions
+2 -3
View File
@@ -35,9 +35,8 @@ void RealTimeClock::synchronize_epoch_(uint32_t epoch) {
}
auto time = this->now();
char buf[128];
time.strftime(buf, sizeof(buf), "%c");
ESP_LOGD(TAG, "Synchronized time: %s", buf);
ESP_LOGD(TAG, "Synchronized time: %d-%d-%d %d:%d:%d", time.year, time.month, time.day_of_month, time.hour,
time.minute, time.second);
this->time_sync_callback_.call();
}