icon.h #ifndef _ICON_H_ #define _ICON_H_ const unsigned char ICONS[]={0x1F,0x20,0x41,0x41,0x41,0x41,0x5F,0x5F,0x40,0x40,0x5F,0x5F,0x41,0x41,0x41,0x41}; #endif 在main.c和lcd.c都有包含这个头文件。KEIL编译报错: .\HEX\LCR.axf: Error: L6200E: Symbol ICONSmultiply defined (by lcd.o and main.o). 为什么#ifndef没有起作用?
|