Browse Source

Enable WIFI debug on hardware (button long press) reset

fastled
Xose Pérez 7 years ago
parent
commit
17722d55b5
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      code/espurna/espurna.ino

+ 3
- 0
code/espurna/espurna.ino View File

@ -123,6 +123,9 @@ void hardwareSetup() {
EEPROM.begin(4096); EEPROM.begin(4096);
#ifdef DEBUG_PORT #ifdef DEBUG_PORT
DEBUG_PORT.begin(SERIAL_BAUDRATE); DEBUG_PORT.begin(SERIAL_BAUDRATE);
if (customReset() == CUSTOM_RESET_HARDWARE) {
DEBUG_PORT.setDebugOutput(true);
}
#endif #endif
#ifdef SONOFF_DUAL #ifdef SONOFF_DUAL
Serial.begin(SERIAL_BAUDRATE); Serial.begin(SERIAL_BAUDRATE);


Loading…
Cancel
Save