1
0
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:
James Cotton 2011-08-04 07:47:50 -05:00
parent 6212c98c11
commit a592e7d398
2 changed files with 4 additions and 1 deletions

View File

@ -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 */

View File

@ -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)