Skip to content

Commit

Permalink
🐛avoid double Serial.begin (otherwise it will cause unwanted loss of …
Browse files Browse the repository at this point in the history
…buffered debug serial data)
  • Loading branch information
Pako2 committed Jan 21, 2019
1 parent 34e12cc commit e7c27ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/config.esp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ bool ICACHE_FLASH_ATTR loadConfiguration()
rfidss = hardware["sspin"];
setupPN532Reader(rfidss);
}
#ifndef DEBUG
if (readerType>2) Serial.begin(9600);
#endif
#endif
autoRestartIntervalSeconds = general["restart"];
wifiTimeout = network["offtime"];
Expand Down

0 comments on commit e7c27ac

Please sign in to comment.