1
0
Fork 0
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:
Dominic Clifton 2014-04-06 17:10:48 +01:00
parent f336fc8d20
commit dbceb44fce
2 changed files with 31 additions and 35 deletions

View file

@ -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;