mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
ManualControlSettings must be also initialized in pios_board.c
This commit is contained in:
parent
6212c98c11
commit
a592e7d398
@ -909,6 +909,7 @@ void PIOS_Board_Init(void) {
|
|||||||
UAVObjInitialize();
|
UAVObjInitialize();
|
||||||
|
|
||||||
HwSettingsInitialize();
|
HwSettingsInitialize();
|
||||||
|
ManualControlSettingsInitialize();
|
||||||
|
|
||||||
#if defined(PIOS_INCLUDE_RTC)
|
#if defined(PIOS_INCLUDE_RTC)
|
||||||
/* Initialize the real-time clock and its associated tick */
|
/* Initialize the real-time clock and its associated tick */
|
||||||
|
@ -113,11 +113,13 @@ int32_t ManualControlInitialize()
|
|||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
AccessoryDesiredInitialize();
|
AccessoryDesiredInitialize();
|
||||||
ManualControlSettingsInitialize();
|
|
||||||
ManualControlCommandInitialize();
|
ManualControlCommandInitialize();
|
||||||
FlightStatusInitialize();
|
FlightStatusInitialize();
|
||||||
StabilizationDesiredInitialize();
|
StabilizationDesiredInitialize();
|
||||||
|
|
||||||
|
// ManualControlSettingsInitialize(); // this is initialized in
|
||||||
|
// pios_board.c
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
MODULE_INITCALL(ManualControlInitialize, ManualControlStart)
|
MODULE_INITCALL(ManualControlInitialize, ManualControlStart)
|
||||||
|
Loading…
Reference in New Issue
Block a user