mirror of
https://github.com/1technophile/OpenMQTTGateway.git
synced 2026-02-20 00:32:04 +01:00
[SYS] Fix capacity to onboard ethernet board without WiFi AP (#2106)
Co-authored-by: Florian <1technophile@users.noreply.github.com>
This commit is contained in:
@@ -2307,7 +2307,7 @@ void setupWiFiManager() {
|
||||
esp_wifi_set_config(WIFI_IF_AP, &conf);
|
||||
# endif
|
||||
|
||||
bool shouldRestart = (gatewayState != GatewayState::BROKER_CONNECTED && gatewayState != GatewayState::NTWK_CONNECTED);
|
||||
bool shouldRestart = (gatewayState != GatewayState::BROKER_CONNECTED && !ethConnected && gatewayState != GatewayState::NTWK_CONNECTED);
|
||||
|
||||
# ifdef USE_BLUFI
|
||||
shouldRestart = shouldRestart && !isStaConnecting();
|
||||
|
||||
Reference in New Issue
Block a user