diff --git a/BSB_LAN/BSB_LAN.ino b/BSB_LAN/BSB_LAN.ino index 1ffff1b2..65d06ea3 100644 --- a/BSB_LAN/BSB_LAN.ino +++ b/BSB_LAN/BSB_LAN.ino @@ -7591,11 +7591,13 @@ void loop() { if (bus->getBusType() != BUS_PPS && !my_dev_fam) { SetDevId(); } +#if defined(ESP32) struct tm now; getLocalTime(&now,100); if (now.tm_year < 100) { SetDateTime(); } +#endif #if defined(WIFI) && defined(ESP32) // if WiFi is down, try reconnecting every minute