mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 15:25:36 +03:00
Fixing software serial inversion. RX inversion was not implemented in
the new software serial receive implementation and TX was ignored because the 'isInverted' flag was never set.
This commit is contained in:
parent
f336fc8d20
commit
dbceb44fce
2 changed files with 31 additions and 35 deletions
|
@ -20,8 +20,8 @@ typedef struct softSerial_s {
|
|||
|
||||
uint8_t isSearchingForStartBit;
|
||||
uint8_t rxBitIndex;
|
||||
uint8_t rxLastRiseAtBitIndex;
|
||||
uint8_t rxPinMode;
|
||||
uint8_t rxLastLeadingEdgeAtBitIndex;
|
||||
uint8_t rxEdge;
|
||||
|
||||
uint8_t isTransmittingData;
|
||||
uint8_t bitsLeftToTransmit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue