aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/uart_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-07-27 14:44:28 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-07-27 14:44:28 +0000
commit8249123228e7de9f1694905d090f91a063306bdf (patch)
tree56e9242a34fdd7c8c9768a1d96b3412fa6f4c661 /os/hal/platforms/STM32/uart_lld.h
parent79b97b0f60aa6d99667a6bb4d402c420cb6d856e (diff)
downloadChibiOS-8249123228e7de9f1694905d090f91a063306bdf.tar.gz
ChibiOS-8249123228e7de9f1694905d090f91a063306bdf.tar.bz2
ChibiOS-8249123228e7de9f1694905d090f91a063306bdf.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2095 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/uart_lld.h')
-rw-r--r--os/hal/platforms/STM32/uart_lld.h2
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;
/*===========================================================================*/