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:
parent
c689d97961
commit
934addfdcc
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user