Restore configured ESP-NOW bridge after browser OTA stops

This commit is contained in:
mikecarper committed 2026-10-05 10:47:37 -07:00
1 parent bd7ce50e7b
commit a294f01a5d
2 files changed
+18 -5

No files matched your search

+5 -1
View File
@@ -2780,7 +2780,11 @@ void CommonCLI::handleCommand(uint32_t sender_timestamp, char* command, char* re
if (!reply[0]) strcpy(reply, "Error");
}
#if defined(WITH_MQTT_BRIDGE) && defined(LIGHTWEIGHT_WIFI_OTA)
else if (_prefs->bridge_enabled) {
else if (_prefs->bridge_enabled
#ifdef WITH_ESPNOW_BRIDGE
|| _prefs->espnow_bridge_enabled
#endif
) {
_callbacks->setBridgeState(true);
}
#endif