diff --git a/arch/pjrc-8051/src/up_putc.c b/arch/pjrc-8051/src/up_putc.c index 95f25aa3bd..48f3ea90ee 100644 --- a/arch/pjrc-8051/src/up_putc.c +++ b/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