Skip to content

Commit

Permalink
Moved pointers back.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeller committed May 9, 2018
1 parent 61beef2 commit d766501
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/drivers/serial.h
Expand Up @@ -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;
Expand All @@ -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)
Expand Down

0 comments on commit d766501

Please sign in to comment.