1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-19 04:52:12 +01:00

BUGFIX to OpLinkMini: oplinkmod needs to initialize the Callback Scheduler

OPLMini does not use Systemmod but its own system module called
oplinkmod - which did not initialize the callback scheduler. Making the
event dispatcher a callback caused it to no longer run due to the
missing callback scheduler initialization
This commit is contained in:
Corvus Corax 2013-11-24 21:24:55 +01:00
parent 92f8102597
commit 1c83d3ee28

View File

@ -118,6 +118,9 @@ static void systemTask(__attribute__((unused)) void *parameters)
/* create all modules thread */
MODULE_TASKCREATE_ALL;
/* start the delayed callback scheduler */
CallbackSchedulerStart();
if (mallocFailed) {
/* We failed to malloc during task creation,
* system behaviour is undefined. Reset and let