I'm not very familiar with keil and normally never include c files, i add them to a project.
But new to keil i added only my main.c to the project and included every *.c file in main.c.
While testing my code i found it too nasty so i added the c files to the project and removed the includes from main.c.
But after doing this i got a "MACROS TOO NESTED" error message like in this thread: http://www.keil.com/forum/docs/thread15729.asp.
Removing the c files from the project and reincluding them in main.c solved the problem. My code is running fine this way without a change.
Any idea why this happens? Am I doing something wrong when adding c files to the project?