Skip to content

Commit

Permalink
emsesp#751 move ntp sending info topic back
Browse files Browse the repository at this point in the history
  • Loading branch information
proddy committed Nov 30, 2022
1 parent 5b5dc6a commit 4168a08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/framework/NTPSettingsService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,5 @@ void NTPSettingsService::configureTime(AsyncWebServerRequest * request, JsonVari
void NTPSettingsService::ntp_received(struct timeval * tv) {
// emsesp::EMSESP::logger().info("NTP sync to %d sec", tv->tv_sec);
emsesp::EMSESP::system_.ntp_connected(true);
emsesp::EMSESP::system_.send_info_mqtt("connected", true); // send info topic with NTP time
}

0 comments on commit 4168a08

Please sign in to comment.