mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
added missing initializations to allow boot without manualcontrol module
This commit is contained in:
parent
f61231f610
commit
2f57ea2ab3
@ -125,6 +125,7 @@ int32_t ActuatorInitialize()
|
||||
MixerSettingsConnectCallback(MixerSettingsUpdatedCb);
|
||||
|
||||
// Listen for ActuatorDesired updates (Primary input to this module)
|
||||
AccessoryDesiredInitialize();
|
||||
ActuatorDesiredInitialize();
|
||||
queue = xQueueCreate(MAX_QUEUE_SIZE, sizeof(UAVObjEvent));
|
||||
ActuatorDesiredConnectQueue(queue);
|
||||
|
@ -171,6 +171,10 @@ int32_t StabilizationInitialize()
|
||||
PIOS_STATIC_ASSERT(NUM_FMS_POSITIONS == sizeof(((FlightModeSettingsData *)0)->FlightModePosition) / sizeof((((FlightModeSettingsData *)0)->FlightModePosition)[0]));
|
||||
|
||||
// Initialize variables
|
||||
ManualControlCommandInitialize();
|
||||
ManualControlSettingsInitialize();
|
||||
FlightStatusInitialize();
|
||||
StabilizationDesiredInitialize();
|
||||
StabilizationSettingsInitialize();
|
||||
StabilizationBankInitialize();
|
||||
StabilizationSettingsBank1Initialize();
|
||||
|
Loading…
Reference in New Issue
Block a user