always print debug output to both serial and segger debug port

cc @mc-hamster, this  makes USE_SEGGER optional on nrf52 targets
This commit is contained in:
Kevin Hester
2020-11-13 07:48:25 +08:00
parent 619a48085a
commit 67e657f10f
7 changed files with 21 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ class RedirectablePrint : public Print
*/
void setDestination(Print *dest);
virtual size_t write(uint8_t c) { return dest->write(c); }
virtual size_t write(uint8_t c);
};
class NoopPrint : public Print