在读eeprom数据时候,使用库函数eeprom_read_block
eeprom_read_block(name,0x00,10),从地址00读出10个数值,编译通过而且没问题
但如果改成eeprom_read_block(name,0x01,10),从地址01开始,编译告警而且读不出数据
警告如下
Warning 1 passing argument 2 of '__eerd_block_tn841' makes pointer from integer without a cast [enabled by default]
|