mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
Should check that the queue allocates and initialize shoudl return -1 if not
This commit is contained in:
parent
66191c4d01
commit
c0c5da69aa
@ -126,6 +126,8 @@ int32_t SystemModInitialize(void)
|
||||
SystemModStart();
|
||||
|
||||
objectPersistenceQueue = xQueueCreate(1, sizeof(UAVObjEvent));
|
||||
if (objectPersistenceQueue == NULL)
|
||||
return -1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user