mirror of
https://github.com/EnhancedRadioDevices/HamShield_KISS
synced 2023-10-28 07:05:50 +00:00
added check for tx before parsing serial
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user