Fix typo in SerialUART

This commit is contained in:
Daniel Fekete 2017-04-28 18:04:37 +02:00
parent 4b6a0e33d9
commit 6d4cc61c0a
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ void SerialUART::begin(const uint32_t baud) {
static uint8_t static_rx_used = 0;
if (!static_rx_used) {
txBuffer = (uint8_t*)rx;
rxBuffer = (uint8_t*)rx;
static_rx_used = true;
} else {
rxBuffer = (uint8_t*)malloc(BUFFER_SIZE);