Other Parts Discussed in Thread: Z-STACK
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
到底哪个是对的?
