1
0
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:
James Cotton 2012-07-23 08:47:43 -05:00
parent 66191c4d01
commit c0c5da69aa

View File

@ -126,6 +126,8 @@ int32_t SystemModInitialize(void)
SystemModStart();
objectPersistenceQueue = xQueueCreate(1, sizeof(UAVObjEvent));
if (objectPersistenceQueue == NULL)
return -1;
return 0;
}