summaryrefslogtreecommitdiff
path: root/src/ao_serial.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-08-27 00:10:29 -0700
committerKeith Packard <keithp@keithp.com>2010-08-27 00:10:29 -0700
commit2923cf5057f9cef110dd547d8677ea5b60e00796 (patch)
tree5322b641885f0c03d54c6e28eb4f088dc941cef1 /src/ao_serial.c
parent68967157cee620ebedcc8c2ffd6fc7656532087b (diff)
altos: prepare for sdcc 2.9.1
A few minor language changes -- non-standard keywords are now prefixed with __, such as 'at', 'interrupt', 'naked'. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_serial.c')
-rw-r--r--src/ao_serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ao_serial.c b/src/ao_serial.c
index 3f103766..a48734c2 100644
--- a/src/ao_serial.c
+++ b/src/ao_serial.c
@@ -21,7 +21,7 @@ volatile __xdata struct ao_fifo ao_usart1_rx_fifo;
volatile __xdata struct ao_fifo ao_usart1_tx_fifo;
void
-ao_serial_rx1_isr(void) interrupt 3
+ao_serial_rx1_isr(void) __interrupt 3
{
if (!ao_fifo_full(ao_usart1_rx_fifo))
ao_fifo_insert(ao_usart1_rx_fifo, U1DBUF);
@@ -42,7 +42,7 @@ ao_serial_tx1_start(void)
}
void
-ao_serial_tx1_isr(void) interrupt 14
+ao_serial_tx1_isr(void) __interrupt 14
{
UTX1IF = 0;
ao_serial_tx1_started = 0;