From 084e3ccd5dee6142bee14c10565ab01713cd7e7d Mon Sep 17 00:00:00 2001 From: Les Newell Date: Wed, 11 Dec 2013 13:31:14 +0000 Subject: [PATCH] OP-984 Modified manualcontrol to handle pid bank --- flight/modules/ManualControl/manualcontrol.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flight/modules/ManualControl/manualcontrol.c b/flight/modules/ManualControl/manualcontrol.c index db1ae3cce..62006ed37 100644 --- a/flight/modules/ManualControl/manualcontrol.c +++ b/flight/modules/ManualControl/manualcontrol.c @@ -668,8 +668,8 @@ static void updateStabilizationDesired(ManualControlCommandData *cmd, ManualCont StabilizationDesiredGet(&stabilization); - StabilizationSettingsData stabSettings; - StabilizationSettingsGet(&stabSettings); + StabilizationBankData stabSettings; + StabilizationBankGet(&stabSettings); uint8_t *stab_settings; FlightStatusData flightStatus; @@ -871,8 +871,8 @@ static void altitudeHoldDesired(ManualControlCommandData *cmd, bool changed) AltitudeHoldSettingsThrottleRateGet(&throttleRate); } - StabilizationSettingsData stabSettings; - StabilizationSettingsGet(&stabSettings); + StabilizationBankData stabSettings; + StabilizationBankGet(&stabSettings); thisSysTime = xTaskGetTickCount(); dT = ((thisSysTime == lastSysTimeAH) ? 0.001f : (thisSysTime - lastSysTimeAH) * portTICK_RATE_MS * 0.001f);