From 25413fe851c7b3359b6d806207cc2e0cd5ec2115 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Sat, 28 Mar 2009 14:28:17 +0100 Subject: Use NOP macro defined in SDCC --- Source/portable/SDCC/PIC18/portmacro.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Source/portable/SDCC/PIC18/portmacro.h b/Source/portable/SDCC/PIC18/portmacro.h index 223c3dd2..6d594cc7 100644 --- a/Source/portable/SDCC/PIC18/portmacro.h +++ b/Source/portable/SDCC/PIC18/portmacro.h @@ -112,11 +112,7 @@ extern void vPortYield( void ) __naked; #define portREMOVE_STATIC_QUALIFIER #endif -#define portNOP() \ -_asm \ - NOP \ -_endasm - +#define portNOP() Nop() /* * portSAVE_CONTEXT(ucForcedInterruptFlags): * Macro that pushes all the registers that make up the context of a task onto -- cgit v1.2.3