久久久久久久999_99精品久久精品一区二区爱城_成人欧美一区二区三区在线播放_国产精品日本一区二区不卡视频_国产午夜视频_欧美精品在线观看免费

 找回密碼
 立即注冊

QQ登錄

只需一步,快速開始

搜索
查看: 3089|回復: 5
收起左側

敬請高手修改“基于STM32F4的電子閱讀器”中的問題,感謝!

[復制鏈接]
ID:82098 發表于 2021-4-6 12:17 | 顯示全部樓層 |閱讀模式
敬請高手修改“基于STM32F4的電子閱讀器”中的問題,感謝!

源代碼.7z

842.43 KB, 下載次數: 10

回復

使用道具 舉報

ID:82098 發表于 2021-4-6 15:25 | 顯示全部樓層
compiling main.c...
main.c(253): warning:  #167-D: argument of type "char *" is incompatible with parameter of type "u8 *"
          res=mf_open((char *)spr_name,FA_READ);//只讀打開
main.c(447): warning:  #167-D: argument of type "char *" is incompatible with parameter of type "u8 *"
                          if(mf_open(spr_buf,FA_OPEN_EXISTING)==FR_OK)
main.c(448): warning:  #167-D: argument of type "char *" is incompatible with parameter of type "const u8 *"
                                  ai_load_picfile(spr_buf,60,100,150,250,1);        //顯示圖片1
main.c(461): warning:  #167-D: argument of type "char *" is incompatible with parameter of type "u8 *"
                          if(mf_open(spr_buf,FA_OPEN_EXISTING)==FR_OK)
main.c(462): warning:  #167-D: argument of type "char *" is incompatible with parameter of type "const u8 *"
                                  ai_load_picfile(spr_buf,280,100,150,250,1);
main.c(477): warning:  #167-D: argument of type "char *" is incompatible with parameter of type "u8 *"
                          if(mf_open(spr_buf,FA_OPEN_EXISTING)==FR_OK)
main.c(478): warning:  #167-D: argument of type "char *" is incompatible with parameter of type "const u8 *"
                                  ai_load_picfile(spr_buf,60,450,150,250,1);//顯示圖片3
main.c(492): warning:  #167-D: argument of type "char *" is incompatible with parameter of type "u8 *"
                          if(mf_open(spr_buf,FA_OPEN_EXISTING)==FR_OK)
main.c(493): warning:  #167-D: argument of type "char *" is incompatible with parameter of type "const u8 *"
                                  ai_load_picfile(spr_buf,280,450,150,250,1);//顯示圖片4
main.c(702): warning:  #940-D: missing return statement at end of non-void function "lcd_dis_files"
  }
main.c(959): warning:  #170-D: pointer points outside of underlying object
                          if(strncmp(txt_pathname[key-1]-4+strlen(txt_pathname[key-1]),".txt",4)==0)
main.c(1007): warning:  #167-D: argument of type "u8 *" is incompatible with parameter of type "const char *"
                  if(strcmp(path,txt_path_name[ i])==0)
main.c(1007): warning:  #167-D: argument of type "u8 *" is incompatible with parameter of type "const char *"
                  if(strcmp(path,txt_path_name[ i])==0)
main.c(1011): warning:  #167-D: argument of type "u8 *" is incompatible with parameter of type "char *restrict"
                                  strcpy(txt_path_name[j],txt_path_name[j+1]);
main.c(1011): warning:  #167-D: argument of type "u8 *" is incompatible with parameter of type "const char *restrict"
                                  strcpy(txt_path_name[j],txt_path_name[j+1])
回復

使用道具 舉報

ID:82098 發表于 2021-4-8 12:51 | 顯示全部樓層
聆煙雨 發表于 2021-4-7 14:51
我編譯了一下 "..\OBJ\HZ.axf" - 0 Error(s), 18 Warning(s) :
沒有錯誤,全是警告。 這是原子的代碼嗎? ...

感謝回復!按照你的修改后,還有一些警告怎么解決?敬請回復!
回復

使用道具 舉報

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規則

手機版|小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術交流QQ群281945664

Powered by 單片機教程網

快速回復 返回頂部 返回列表
主站蜘蛛池模板: 中文字幕精品一区二区三区精品 | 成人免费激情视频 | 一级黄色毛片免费 | 亚洲一区在线观看视频 | 日日骚网 | 欧美在线a | 午夜羞羞| 91看片网| 一级视频黄色 | 秋霞精品| 欧美精品成人一区二区三区四区 | 国产超碰人人爽人人做人人爱 | 一区二区三区在线免费观看 | www.色午夜.com| 欧美日韩不卡 | 91精品国产综合久久久久久蜜臀 | 免费观看av| 涩涩视频在线观看 | 美国一级毛片a | a级免费观看视频 | 亚洲视频在线观看 | 日日草夜夜草 | www.99热.com| 99成人免费视频 | 福利精品 | 一级片免费在线观看 | 久久久久久亚洲精品 | 一区二区高清在线观看 | 青青草这里只有精品 | 蜜桃av鲁一鲁一鲁一鲁 | 人人澡人人射 | 国产精品色av | 在线观看视频福利 | 免费一区二区 | 中文字幕av亚洲精品一部二部 | 一区二区在线免费观看视频 | 亚洲日本视频 | 亚洲一区在线日韩在线深爱 | 亚洲欧美日韩在线 | 亚洲国产欧美一区二区三区久久 | 成人高清在线视频 |