mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-30 08:24:11 +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
c0c5da69aa
commit
f9eb82478b
@ -123,12 +123,12 @@ int32_t SystemModInitialize(void)
|
||||
WatchdogStatusInitialize();
|
||||
#endif
|
||||
|
||||
SystemModStart();
|
||||
|
||||
objectPersistenceQueue = xQueueCreate(1, sizeof(UAVObjEvent));
|
||||
if (objectPersistenceQueue == NULL)
|
||||
return -1;
|
||||
|
||||
SystemModStart();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user