From 946283d67e0a3f90d6416045ba6536e716fcb4fb Mon Sep 17 00:00:00 2001 From: kokomojoe Date: Wed, 6 Oct 2010 05:30:48 +0000 Subject: [PATCH] OP-185 Flight - Added FirmwareIAP to the module load list in makefile, added uavobjectsinit.c with firmware IAP init calls git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1896 ebee16cc-31ac-478f-84a7-5cbb03baadba --- flight/OpenPilot/Makefile | 2 +- flight/OpenPilot/UAVObjects/uavobjectsinit.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/flight/OpenPilot/Makefile b/flight/OpenPilot/Makefile index a337dd763..b3691411c 100644 --- a/flight/OpenPilot/Makefile +++ b/flight/OpenPilot/Makefile @@ -57,7 +57,7 @@ FLASH_TOOL = OPENOCD USE_THUMB_MODE = YES # List of modules to include -MODULES = Actuator Telemetry GPS ManualControl Altitude AHRSComms Stabilization/simple/Stabilization Watchdog +MODULES = Actuator Telemetry GPS ManualControl Altitude AHRSComms Stabilization/simple/Stabilization Watchdog FirmwareIAP #MODULES = Telemetry Example #MODULES = Telemetry MK/MKSerial diff --git a/flight/OpenPilot/UAVObjects/uavobjectsinit.c b/flight/OpenPilot/UAVObjects/uavobjectsinit.c index 131a8a7ab..88a41fb50 100644 --- a/flight/OpenPilot/UAVObjects/uavobjectsinit.c +++ b/flight/OpenPilot/UAVObjects/uavobjectsinit.c @@ -41,6 +41,7 @@ #include "exampleobject1.h" #include "exampleobject2.h" #include "examplesettings.h" +#include "firmwareiapobj.h" #include "flightbatterystate.h" #include "flighttelemetrystats.h" #include "gcstelemetrystats.h" @@ -85,6 +86,7 @@ void UAVObjectsInitializeAll() ExampleObject1Initialize(); ExampleObject2Initialize(); ExampleSettingsInitialize(); + FirmwareIAPObjInitialize(); FlightBatteryStateInitialize(); FlightTelemetryStatsInitialize(); GCSTelemetryStatsInitialize();