diff options
Diffstat (limited to 'Source/Serial.c')
| -rw-r--r-- | Source/Serial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Serial.c b/Source/Serial.c index 528e97b..57d9bb4 100644 --- a/Source/Serial.c +++ b/Source/Serial.c @@ -56,7 +56,7 @@ bool SerialRead(uint8_t* ptrArray, size_t nBytes) while ( (SIOCheckInBuffer() == SERIAL_RX_FIFO_EMPTY)); // Wait for RX FIFO not empty *(ptrArray++) = SIOReadByte(); - }while (--nBytes); + } while (--nBytes); return true; } @@ -79,7 +79,7 @@ bool SerialWrite(void* ptrArray, size_t nBytes) SIOSendByte(*(uint8_t*)ptrArray++); - }while (--nBytes); + } while (--nBytes); serial_busy = false; |
