altos: More _asm -> __asm changes
authorKeith Packard <keithp@keithp.com>
Fri, 30 Dec 2011 23:42:28 +0000 (15:42 -0800)
committerKeith Packard <keithp@keithp.com>
Fri, 30 Dec 2011 23:42:28 +0000 (15:42 -0800)
Missed a few last time

Signed-off-by: Keith Packard <keithp@keithp.com>
src/cc1111/ao_dbg.c
src/cc1111/ao_dma.c

index d4c9567fe519039ec28713dd97282c126c919b42..847b5aaf857da6b602aeb28ee13e862e614daf35 100644 (file)
@@ -22,10 +22,10 @@ static void
 ao_dbg_send_bits(uint8_t msk, uint8_t val) __reentrant
 {
        DBG_PORT = (DBG_PORT & ~msk) | (val & msk);
-       _asm
+       __asm
                nop
                nop
-       _endasm;
+       __endasm;
 }
 
 void
@@ -187,7 +187,7 @@ ao_dbg_long_delay(void)
        uint8_t n;
 
        for (n = 0; n < 20; n++)
-               _asm nop _endasm;
+               __asm nop __endasm;
 }
 
 #define AO_RESET_LOW_DELAY     AO_MS_TO_TICKS(100)
index ca33facb5e1807a85edd09f1f134cc627cf7b6de..8779ddf414dfd188fe5777bb23070e3fc32b2c4e 100644 (file)
@@ -75,7 +75,7 @@ ao_dma_set_transfer(uint8_t id,
        ao_dma_config[id].cfg1 = cfg1 | DMA_CFG1_IRQMASK;
 }
 
-#define nop()  _asm nop _endasm;
+#define nop()  __asm nop __endasm;
 
 void
 ao_dma_start(uint8_t id)