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:
parent
eed511f90a
commit
4530f99e3b
2 changed files with 30 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue