欧美极品高清xxxxhd,国产日产欧美最新,无码AV国产东京热AV无码,国产精品人与动性XXX,国产传媒亚洲综合一区二区,四库影院永久国产精品,毛片免费免费高清视频,福利所导航夜趣136

標題: error C267: 'SectorErase': requires ANSI-style prototype求解決 謝謝 [打印本頁]

作者: 132134456    時間: 2017-4-11 15:32
標題: error C267: 'SectorErase': requires ANSI-style prototype求解決 謝謝
111.C(72): warning C206: 'SectorErase': missing function-prototype
111.C(72): error C267: 'SectorErase': requires ANSI-style prototype




char xdata DisplayBuf[10];  //當前讀出卡的ID
char xdata DisplayBuf_c[10];  //當前單片機里存的卡ID
void write_eeprom()
{

        SectorErase(0x2000);                   //清空
    byte_write(0x2000,TempPassword[0]);
          byte_write(0x2011,TempPassword[1]);
         byte_write(0x2002,TempPassword[2]);
         byte_write(0x2003,TempPassword[3]);
         byte_write(0x2004,TempPassword[4]);
         byte_write(0x2005,TempPassword[5]);                        
        byte_write(0x2060,0x01);


作者: unhuyou    時間: 2017-4-11 17:02
SectorErase 函數沒找到原型,這個是別處copy的?
作者: 132134456    時間: 2017-4-12 12:44
對的  這個該怎么解決呢




歡迎光臨 (http://www.raoushi.com/bbs/) Powered by Discuz! X3.1