src/rtctime.cpp
// helper function to sync phase of DCF output signal to start of second t
helper function to sync phase of DCF output signal to start of second t
helper function to sync phase of DCF output signal to start of second t
uint8_t sync_clock(time_t t) {
  time_t tt = t;
  do {
    tt = now();
  } while (t == tt);
  ESP_LOGI(TAG, "Sync on Sec %d", second(tt));
  return second(tt);
}
uint8_t sync_clock ( time_t t ) { time_t tt = t ; do { tt = now ( ) ; } while ( t == tt ) ; ESP_LOGI ( TAG , " " , second ( tt ) ) ; return second ( tt ) ; }
helper function to sync phase of DCF output signal to start of second t
helper function to sync phase of DCF output signal to start of second t
// delay until start of next second