mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
add v2.1.1b7 changes, json sizes
This commit is contained in:
@@ -398,9 +398,11 @@ void System::system_check() {
|
||||
|
||||
// not healthy if bus not connected
|
||||
if (!EMSbus::bus_connected()) {
|
||||
if (system_healthy_) {
|
||||
LOG_ERROR(F("Error: No connection to the EMS bus"));
|
||||
}
|
||||
system_healthy_ = false;
|
||||
set_led_speed(LED_WARNING_BLINK); // flash every 1/2 second from now on
|
||||
// LOG_ERROR(F("Error: No connection to the EMS bus"));
|
||||
} else {
|
||||
// if it was unhealthy but now we're better, make sure the LED is solid again cos we've been healed
|
||||
if (!system_healthy_) {
|
||||
|
||||
Reference in New Issue
Block a user