1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Ignore incoming software serial data that doesn't have a start and stop

bit.  Track software serial transmission and receive errors.
  
Nothing exposes the error counter values yet.
This commit is contained in:
Dominic Clifton 2014-04-07 20:16:28 +01:00
parent eed511f90a
commit 4530f99e3b
2 changed files with 30 additions and 1 deletions

View file

@ -30,6 +30,9 @@ typedef struct softSerial_s {
uint16_t internalRxBuffer; // includes start and stop bits
uint8_t isInverted;
uint16_t transmissionErrors;
uint16_t receiveErrors;
} softSerial_t;
extern timerHardware_t* serialTimerHardware;