1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

Posix: fix object initialization where necessary

This commit is contained in:
Corvus Corax 2011-08-19 18:36:30 +02:00
parent 03a8bd7674
commit 9bba1f7ae9
3 changed files with 3 additions and 4 deletions

View File

@ -100,8 +100,6 @@ int32_t GuidanceInitialize()
GuidanceSettingsInitialize();
PositionDesiredInitialize();
ManualControlCommandInitialize();
FlightStatusInitialize();
NedAccelInitialize();
VelocityDesiredInitialize();

View File

@ -117,8 +117,7 @@ int32_t ManualControlInitialize()
FlightStatusInitialize();
StabilizationDesiredInitialize();
// ManualControlSettingsInitialize(); // this is initialized in
// pios_board.c
ManualControlSettingsInitialize();
return 0;
}

View File

@ -30,6 +30,7 @@
#include <uavobjectsinit.h>
#include "attituderaw.h"
#include "attitudeactual.h"
#include "positionactual.h"
#include "velocityactual.h"
@ -177,6 +178,7 @@ void PIOS_Board_Init(void) {
// Initialize these here as posix has no AHRSComms
AttitudeRawInitialize();
AttitudeActualInitialize();
VelocityActualInitialize();
PositionActualInitialize();