|
我有一个.h文件里有一个const uint8_t bmp[]放我的图像模数据,然后在oled.c里定义了一个函数showpicture(x,y,sx,sy,uint8_t BMP,mode),最后在main.c里调用showpicture函数,但是显示错误
../Core/Src/main.c(146): error: #167: argument of type "const uint8_t *" is incompatible with parameter of type "uint8_t *" 不知道为什么
求教各位 |
|