1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 04:45:24 +03:00

Moved pointers back.

This commit is contained in:
Michael Keller 2018-05-10 10:54:14 +12:00
parent 61beef2291
commit d7665014af

View file

@ -68,6 +68,8 @@ typedef struct serialPort_s {
uint32_t rxBufferSize;
uint32_t txBufferSize;
volatile uint8_t *rxBuffer;
volatile uint8_t *txBuffer;
uint32_t rxBufferHead;
uint32_t rxBufferTail;
uint32_t txBufferHead;
@ -77,9 +79,6 @@ typedef struct serialPort_s {
void *rxCallbackData;
uint8_t identifier;
volatile uint8_t *rxBuffer;
volatile uint8_t *txBuffer;
} serialPort_t;
#if defined(USE_SOFTSERIAL1) || defined(USE_SOFTSERIAL2)