diff --git a/src/mesh/StreamAPI.cpp b/src/mesh/StreamAPI.cpp index 742614b6e..0b959ddcb 100644 --- a/src/mesh/StreamAPI.cpp +++ b/src/mesh/StreamAPI.cpp @@ -103,10 +103,7 @@ void StreamAPI::emitTxBuffer(size_t len) auto totalLen = len + HEADER_LEN; stream->write(txBuf, totalLen); - /* for(size_t i = 0; i < totalLen; i++) { - stream->write(txBuf[i]); - // stream->flush(); - } */ + stream->flush(); } } @@ -133,4 +130,4 @@ void StreamAPI::onConnectionChanged(bool connected) // received a packet in a while powerFSM.trigger(EVENT_SERIAL_DISCONNECTED); } -} \ No newline at end of file +}