diff options
author | Nao Pross <naopross@thearcway.org> | 2017-11-09 13:17:35 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2017-11-09 13:17:35 +0100 |
commit | 3b2f2ea6c6fbfcb23ea9ab324c83d602d45a8820 (patch) | |
tree | 2362bfb36432e551f2f0025d4f12554bddc863c9 /sw/z80/drivers/usart.c | |
parent | Update gitignore and add sdcc manual (diff) | |
download | z80uPC-3b2f2ea6c6fbfcb23ea9ab324c83d602d45a8820.tar.gz z80uPC-3b2f2ea6c6fbfcb23ea9ab324c83d602d45a8820.zip |
Update makefile, and bug fix in pio driver and usart
Diffstat (limited to 'sw/z80/drivers/usart.c')
-rw-r--r-- | sw/z80/drivers/usart.c | 2 |
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) { |