I have the following code:
Code: Select all
#ifndef Printf_Output(character)
#define Printf_Output(character) asm nop;
which generates this error:
[quote]f:/microc code/printf/printf_formatter.h:3: error: Excessive token sequence "(character)"
#ifndef Printf_Output(character)
from F:/MicroC code/Printf/Short2Ascii.c: 1: #include "Printf_Formatter.H"
1 error in preprocessor.[/quote]
when i have this code:
[code]#define Printf_Output(character) LCD_Chr_CP(character);
in my main program file.