From d7665014afa9619c36a5eca897283d3eea21e42c Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Thu, 10 May 2018 10:54:14 +1200 Subject: [PATCH] Moved pointers back. --- src/main/drivers/serial.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/drivers/serial.h b/src/main/drivers/serial.h index f63ebae84..ab32bfa69 100644 --- a/src/main/drivers/serial.h +++ b/src/main/drivers/serial.h @@ -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) -- 2.11.4.GIT