From d1b97daff03923774475668e10bb01f50e202432 Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Sat, 5 Sep 2026 09:54:34 +0200 Subject: [PATCH] formatting --- src/core/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/system.cpp b/src/core/system.cpp index 252c1af83..79a88aedf 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -867,7 +867,7 @@ bool System::loop() { void System::send_info_mqtt() { static uint8_t _connection = 0; uint8_t connection = (EMSESP::network_.ethernet_connected() ? 1 : 0) + (EMSESP::network_.wifi_connected() ? 2 : 0) + (ntp_connected_ ? 4 : 0) - + (EMSESP::network_.has_ipv6() ? 8 : 0); + + (EMSESP::network_.has_ipv6() ? 8 : 0); // check if connection status has changed if (!Mqtt::connected() || connection == _connection) { return;