kopia lustrzana https://github.com/meshtastic/firmware
for now, allow debug out to be interleaved with protobufs
rodzic
9f49f90acd
commit
88a704c4d3
|
@ -25,7 +25,11 @@ void SerialConsole::init()
|
|||
*/
|
||||
void SerialConsole::handleToRadio(const uint8_t *buf, size_t len)
|
||||
{
|
||||
setDestination(&noopPrint);
|
||||
// Note: for the time being we _allow_ debug printing to keep going out the console
|
||||
// I _think_ this is okay because we currently only print debug msgs from loop() and we are only
|
||||
// dispatching serial protobuf msgs from loop() as well. When things are more threaded in the future this
|
||||
// will need to change.
|
||||
// setDestination(&noopPrint);
|
||||
canWrite = true;
|
||||
|
||||
StreamAPI::handleToRadio(buf, len);
|
||||
|
|
Ładowanie…
Reference in New Issue