mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-17 02:52:12 +01:00
Should check that the queue allocates and initialize shoudl return -1 if not
This commit is contained in:
parent
545018244c
commit
e38325c745
@ -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