mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-21 11:54:15 +01:00
Make sure to create the system queue BEFORE calling task start. Systemmod
initializes differently than other threads and I missed htat. Huge thanks to Hyper for making me realize that despite the fact I didn't see it :D.
This commit is contained in:
parent
e38325c745
commit
9865466da9
@ -123,12 +123,12 @@ int32_t SystemModInitialize(void)
|
|||||||
WatchdogStatusInitialize();
|
WatchdogStatusInitialize();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
SystemModStart();
|
|
||||||
|
|
||||||
objectPersistenceQueue = xQueueCreate(1, sizeof(UAVObjEvent));
|
objectPersistenceQueue = xQueueCreate(1, sizeof(UAVObjEvent));
|
||||||
if (objectPersistenceQueue == NULL)
|
if (objectPersistenceQueue == NULL)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
SystemModStart();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user