aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/test-usart-dma.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/test-usart-dma.cpp b/examples/test-usart-dma.cpp
index b09c6e8..5ff5b86 100644
--- a/examples/test-usart-dma.cpp
+++ b/examples/test-usart-dma.cpp
@@ -39,7 +39,7 @@ uint8 rx_buf[BUF_SIZE];
dma_irq_cause irq_cause;
-__io uint32 irq_fired = 0;
+volatile uint32 irq_fired = 0;
void init_usart(void);
void init_dma_xfer(void);