aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-07-06 11:04:37 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-07-06 11:04:37 -0400
commit81ce22382b7bcff35a928a35bf7cdaa20463d777 (patch)
tree9e28726c79158a10572bdf37486617bbb82bab80
parenta134fa591fc4827f27c94551ac2273f8b4d6d9fe (diff)
downloadlibrambutan-81ce22382b7bcff35a928a35bf7cdaa20463d777.tar.gz
librambutan-81ce22382b7bcff35a928a35bf7cdaa20463d777.zip
test-usart-dma.cpp: Change mistaken "__io" -> "volatile"
-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);