This commit is contained in:
Lubos Petrovic
2020-12-26 09:23:07 +01:00
parent 59b05486c6
commit f68ee0ed86
3 changed files with 19 additions and 5 deletions

View File

@@ -65,8 +65,7 @@ void setup(void) {
// Serial console, init structures
Serial.begin(115200);
Serial.println("");
Serial.println("Booting device...");
debug("\nBooting device...");
// Init settings/params
liveData = new LiveData();
@@ -74,7 +73,7 @@ void setup(void) {
// Turn off serial console
if (liveData->settings.serialConsolePort = 255) {
Serial.println("Serial console disabled...");
debug("Serial console disabled...");
Serial.flush();
Serial.end();
}