osal_nv.c文件中
@@ -1073,11 +1073,11 @@ static uint8 writeItem( uint8 pg, uint16 id, uint16 len, void *buf, uint8 flag )
OSAL_NV_HDR_ITEM, (uint8 *)(hdrData));
readHdr( pg, hdrOff, (uint8 *)(&hdr) );
if ( chk == hdr.chk )
{
– hotItemUpdate(pg, hdrOff, hdr.id);
+ hotItemUpdate(pg, datOff, hdr.id);
rtrn = TRUE;
}
}
}
else
到底哪个是对的?
Viki Shi:
没看懂,你是问函数的具体含义吗?
zhimin xie:
回复 Viki Shi:
Z-Stack Home 1.2.2a.44539版本用的是
hotItemUpdate(pg, hdrOff, hdr.id);
Z-Stack 3.0.1用的是
hotItemUpdate(pg, datOff, hdr.id);
到底哪个是对的?
Susan Yang:
回复 zhimin xie:
以工程内的函数定义为准