fix small change

This commit is contained in:
King Kévin 2016-09-11 16:54:22 +02:00
parent eb47261de4
commit 38e39aca63
1 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,8 @@ static volatile uint8_t rx_used = 0; /**< how much data has been received and no
static uint8_t tx_buffer[USART_BUFFER] = {0}; /**< ring buffer for data to transmit */
static volatile uint8_t tx_i = 0; /**< current position if transmitted data */
static volatile uint8_t tx_used = 0; /**< how much data needs to be transmitted */
volatile bool usart_received = 0; // same as rx_used, but since the user can write this variable we don't rely on it
volatile bool usart_received = false;
void usart_setup(void)
{