diff options
Diffstat (limited to 'os/hal/platforms/STM32/uart_lld.h')
-rw-r--r-- | os/hal/platforms/STM32/uart_lld.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/uart_lld.h b/os/hal/platforms/STM32/uart_lld.h index 2977e15c5..50eacbd9c 100644 --- a/os/hal/platforms/STM32/uart_lld.h +++ b/os/hal/platforms/STM32/uart_lld.h @@ -148,7 +148,7 @@ typedef struct { /** @brief Transmit DMA channel.*/
uint8_t ud_dmatx;
/** @brief Default receive buffer while into @p UART_RX_IDLE state.*/
- uint16_t ud_rxbuf;
+ volatile uint16_t ud_rxbuf;
} UARTDriver;
/*===========================================================================*/
|