debug level, serial console turn off

This commit is contained in:
Lubos Petrovic
2020-12-26 09:10:31 +01:00
parent 0c112a9d0f
commit 59b05486c6
5 changed files with 46 additions and 23 deletions

View File

@@ -72,6 +72,13 @@ void setup(void) {
liveData = new LiveData();
liveData->initParams();
// Turn off serial console
if (liveData->settings.serialConsolePort = 255) {
Serial.println("Serial console disabled...");
Serial.flush();
Serial.end();
}
// Init board
#ifdef BOARD_TTGO_T4
board = new BoardTtgoT4v13();