标题:
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.51hei.com/bbs/)
Powered by Discuz! X3.1