|
使用keil进行编译过程中出现两种编号同为167-D警告编码,这里先把错误信息附上
..\HARDWARE\LCD\lcd.c(352): warning: #167-D: argument of type "const char *" is incompatible with parameter of type "const u8 *"
WriteA_Chinese(mode,x,y,p);
..\HARDWARE\LCD\lcd.c(385): warning: #167-D: argument of type "u8 *" is incompatible with parameter of type "const char *"
LCD_ShowAllString(1,x0,y0*8,pp);
..\HARDWARE\LCD\lcd.c(389): warning: #167-D: argument of type "u8 *" is incompatible with parameter of type "const char *"
LCD_ShowAllString(show_mode,x0,y0*8,pp);
..\HARDWARE\LCD\lcd.c: 3 warnings, 0 errors
附图中是警告存在位置的代码截图
请问该对此警告如何修改,新手小白感谢各位大佬的解答
|
|