mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-25 17:42:48 +00:00
for now, allow debug out to be interleaved with protobufs
This commit is contained in:
parent
9f49f90acd
commit
88a704c4d3
@ -25,7 +25,11 @@ void SerialConsole::init()
|
|||||||
*/
|
*/
|
||||||
void SerialConsole::handleToRadio(const uint8_t *buf, size_t len)
|
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;
|
canWrite = true;
|
||||||
|
|
||||||
StreamAPI::handleToRadio(buf, len);
|
StreamAPI::handleToRadio(buf, len);
|
||||||
|
Loading…
Reference in New Issue
Block a user