summaryrefslogtreecommitdiffstats
path: root/sw/z80/drivers/usart.c
diff options
context:
space:
mode:
Diffstat (limited to 'sw/z80/drivers/usart.c')
-rw-r--r--sw/z80/drivers/usart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/z80/drivers/usart.c b/sw/z80/drivers/usart.c
index 9ec6dbd..9a5ee38 100644
--- a/sw/z80/drivers/usart.c
+++ b/sw/z80/drivers/usart.c
@@ -1,6 +1,6 @@
#include "usart.h"
-static struct _usart_device *_usart = (struct _usart_device *) ADDR_DEV_USART;
+static volatile struct _usart_device *_usart = ((struct _usart_device *) ADDR_DEV_USART);
void usart_set_baudrate(uint16_t baudrate)
{