diff options
| author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-07-06 11:04:37 -0400 |
|---|---|---|
| committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-07-06 11:04:37 -0400 |
| commit | 9b29c61fbe8f91aed319045f61403ffe9f26dc4f (patch) | |
| tree | 9e28726c79158a10572bdf37486617bbb82bab80 | |
| parent | 0493613348c4971616789b94bdd258ff26ec50d6 (diff) | |
test-usart-dma.cpp: Change mistaken "__io" -> "volatile"
| -rw-r--r-- | examples/test-usart-dma.cpp | 2 |
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); |
