From 0689f95f7470604e43b829a3d0c3a642110684bb Mon Sep 17 00:00:00 2001 From: Morgan Redfield Date: Fri, 3 Feb 2017 11:35:06 -0800 Subject: [PATCH] added check for tx before parsing serial --- src/KISS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/KISS.cpp b/src/KISS.cpp index a12bc4b..e4e0597 100644 --- a/src/KISS.cpp +++ b/src/KISS.cpp @@ -23,7 +23,7 @@ void KISS::loop() { } } // Check if we have incoming data to turn into a packet - while(io->available()) { + while(currentlySending == false && io->available()) { uint8_t c = (uint8_t)io->read(); if(c == KISS_FEND) { if(inFrame && kissLen > 0) {