summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-03-28 14:28:17 +0100
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-03-28 14:28:17 +0100
commit25413fe851c7b3359b6d806207cc2e0cd5ec2115 (patch)
treee6d70cfb6648175b7ad500de3df48464972586b4
parent9910cb15781c0388598261ffcfb1e19cd90d31f7 (diff)
downloadfreertos-25413fe851c7b3359b6d806207cc2e0cd5ec2115.tar.gz
freertos-25413fe851c7b3359b6d806207cc2e0cd5ec2115.tar.bz2
freertos-25413fe851c7b3359b6d806207cc2e0cd5ec2115.tar.xz
Use NOP macro defined in SDCC
-rw-r--r--Source/portable/SDCC/PIC18/portmacro.h6
1 files changed, 1 insertions, 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