|
@ -467,10 +467,9 @@ void _wifiWebSocketOnAction(uint32_t client_id, const char * action, JsonObject& |
|
|
// INFO
|
|
|
// INFO
|
|
|
// -----------------------------------------------------------------------------
|
|
|
// -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
#if DEBUG_SUPPORT || TERMINAL_SUPPORT
|
|
|
|
|
|
|
|
|
|
|
|
void wifiDebug(WiFiMode_t modes) { |
|
|
void wifiDebug(WiFiMode_t modes) { |
|
|
|
|
|
|
|
|
|
|
|
#if DEBUG_SUPPORT || TERMINAL_SUPPORT
|
|
|
bool footer = false; |
|
|
bool footer = false; |
|
|
|
|
|
|
|
|
if (((modes & WIFI_STA) > 0) && ((WiFi.getMode() & WIFI_STA) > 0)) { |
|
|
if (((modes & WIFI_STA) > 0) && ((WiFi.getMode() & WIFI_STA) > 0)) { |
|
@ -511,6 +510,7 @@ void wifiDebug(WiFiMode_t modes) { |
|
|
if (footer) { |
|
|
if (footer) { |
|
|
DEBUG_MSG_P(PSTR("[WIFI] ----------------------------------------------\n")); |
|
|
DEBUG_MSG_P(PSTR("[WIFI] ----------------------------------------------\n")); |
|
|
} |
|
|
} |
|
|
|
|
|
#endif //DEBUG_SUPPORT
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -518,8 +518,6 @@ void wifiDebug() { |
|
|
wifiDebug(WIFI_AP_STA); |
|
|
wifiDebug(WIFI_AP_STA); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#endif //DEBUG_SUPPORT
|
|
|
|
|
|
|
|
|
|
|
|
// -----------------------------------------------------------------------------
|
|
|
// -----------------------------------------------------------------------------
|
|
|
// API
|
|
|
// API
|
|
|
// -----------------------------------------------------------------------------
|
|
|
// -----------------------------------------------------------------------------
|
|
|