New serial protobuf transport approximately works and is backward

compatiable with the text debug output.
This commit is contained in:
geeksville
2020-04-27 09:36:39 -07:00
parent e5d2d24e2c
commit cceecf5f8e
7 changed files with 84 additions and 17 deletions

View File

@@ -126,7 +126,7 @@ void setup()
// Debug
#ifdef DEBUG_PORT
DEBUG_PORT.begin(SERIAL_BAUD);
DEBUG_PORT.init(); // Set serial baud rate and init our mesh console
#endif
initDeepSleep();
@@ -234,6 +234,10 @@ void loop()
periodicScheduler.loop();
// axpDebugOutput.loop();
#ifdef DEBUG_PORT
DEBUG_PORT.loop(); // Send/receive protobufs over the serial port
#endif
#ifndef NO_ESP32
esp32Loop();
#endif