Browse Source

Fix: Add Debug flag for compilation of wifiDebug() function

refactor-terminal
Debarko De 5 years ago
parent
commit
03c22787d2
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      code/espurna/wifi.ino

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

@ -467,6 +467,8 @@ void _wifiWebSocketOnAction(uint32_t client_id, const char * action, JsonObject&
// INFO // INFO
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
#if DEBUG_SUPPORT
void wifiDebug(WiFiMode_t modes) { void wifiDebug(WiFiMode_t modes) {
bool footer = false; bool footer = false;
@ -516,6 +518,8 @@ void wifiDebug() {
wifiDebug(WIFI_AP_STA); wifiDebug(WIFI_AP_STA);
} }
#endif //DEBUG_SUPPORT
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
// API // API
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------


Loading…
Cancel
Save