🪵 Removes serial logging

This commit is contained in:
Rune Harlyk
2024-06-09 14:10:53 +02:00
committed by Rune Harlyk
parent f62a8a38cb
commit 55347f1cac
7 changed files with 1 additions and 54 deletions
@@ -49,17 +49,11 @@ void NTPSettingsService::begin()
void NTPSettingsService::onStationModeGotIP(WiFiEvent_t event, WiFiEventInfo_t info)
{
#ifdef SERIAL_INFO
Serial.println(F("Got IP address, starting NTP Synchronization"));
#endif
configureNTP();
}
void NTPSettingsService::onStationModeDisconnected(WiFiEvent_t event, WiFiEventInfo_t info)
{
#ifdef SERIAL_INFO
Serial.println(F("WiFi connection dropped, stopping NTP."));
#endif
configureNTP();
}
@@ -67,9 +61,6 @@ void NTPSettingsService::configureNTP()
{
if (WiFi.isConnected() && _state.enabled)
{
#ifdef SERIAL_INFO
Serial.println(F("Starting NTP..."));
#endif
configTzTime(_state.tzFormat.c_str(), _state.server.c_str());
}
else