gut möglich das du da mit einer präcompileranweisung kollidierst, nenn UART1 mal in u_art_1 um, da gibt es sicher ne definition für
#define UART1 IRGENDWAS
und dein compiler kommt damit nicht klar