1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-18 08:54:15 +01:00

OP-216: Silly typo

This commit is contained in:
James Cotton 2011-05-14 15:11:33 -05:00
parent c689d97961
commit 934addfdcc

View File

@ -742,8 +742,10 @@ int32_t UAVObjLoad(UAVObjHandle obj, uint16_t instId)
return -1;
// Fire event on success
if(PIOS_FLASHFS_ObjSave(obj, instId, instEntry->data) == 0)
if(PIOS_FLASHFS_ObjLoad(obj, instId, instEntry->data) == 0)
sendEvent(objEntry, instId, EV_UNPACKED);
else
return -1;
#endif
#if defined(PIOS_INCLUDE_SDCARD)