summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nuttx/arch/pjrc-8051/src/up_putc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/pjrc-8051/src/up_putc.c b/nuttx/arch/pjrc-8051/src/up_putc.c
index 95f25aa3b..48f3ea90e 100644
--- a/nuttx/arch/pjrc-8051/src/up_putc.c
+++ b/nuttx/arch/pjrc-8051/src/up_putc.c
@@ -55,7 +55,7 @@ static void _up_putc(int ch) __naked
ljmp PM2_ENTRY_COUT
_endasm;
#else
- ch;
+ ch; /* To avoid unreferenced argument warning */
_asm
mov a, dpl
cout: jnb ti, cout