This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2540 flash读写问题

Other Parts Discussed in Thread: CC2541

uint8 returnValue=osal_snv_write(0x83,52,showNameValueBuf);

returnValue=osal_snv_read(0x83,52,storeNameValueBuf);

编译的时候出现这样的警告:

Warning[w6]: Type conflict for external/entry "osal_snv_read", in module simpleBLEPeripheral against external/entry in module osal_snv; prototyped

function vs K&R function

Warning[w6]: Type conflict for external/entry "osal_snv_write", in module simpleBLEPeripheral against external/entry in module osal_snv; prototyped

function vs K&R function

这是SNV API函数,但是返回值写报错,读成功,我连续试了很多地址,都是这种现象,请问一下怎么样解决?谢谢了。