Browse Source

Merge branch 'dev' of github.com:xoseperez/espurna into dev

refactor-terminal
Xose Pérez 5 years ago
parent
commit
713d222c6d
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      code/espurna/wifi.ino

+ 2
- 0
code/espurna/wifi.ino View File

@ -469,6 +469,7 @@ void _wifiWebSocketOnAction(uint32_t client_id, const char * action, JsonObject&
void wifiDebug(WiFiMode_t modes) { void wifiDebug(WiFiMode_t modes) {
#if DEBUG_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)) {
@ -509,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
} }


Loading…
Cancel
Save