From ce64aa2ca7b4a3abf9e27b735902786cd7b6a5c1 Mon Sep 17 00:00:00 2001 From: Fredrik Larson Date: Fri, 5 Sep 2014 17:21:37 +1000 Subject: [PATCH] Add for other airframe types --- .../src/plugins/setupwizard/setupwizard.cpp | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/ground/openpilotgcs/src/plugins/setupwizard/setupwizard.cpp b/ground/openpilotgcs/src/plugins/setupwizard/setupwizard.cpp index 25e3ad1b2..61e18e7e1 100644 --- a/ground/openpilotgcs/src/plugins/setupwizard/setupwizard.cpp +++ b/ground/openpilotgcs/src/plugins/setupwizard/setupwizard.cpp @@ -160,20 +160,10 @@ int SetupWizard::nextId() const // case PAGE_REVO_CALIBRATION: // return PAGE_OUTPUT_CALIBRATION; case PAGE_OUTPUT_CALIBRATION: - { - switch (getVehicleType()) { - case VEHICLE_FIXEDWING: - return PAGE_AIRFRAME_INITIAL_TUNING; - - // TODO: PID selection pages for multi and heli - case VEHICLE_MULTI: - case VEHICLE_HELI: - case VEHICLE_SURFACE: - case VEHICLE_UNKNOWN: - return PAGE_SAVE; - } - } + return PAGE_AIRFRAME_INITIAL_TUNING; + case PAGE_AIRFRAME_INITIAL_TUNING: + return PAGE_SAVE; case PAGE_GPS: switch (getVehicleType()) { @@ -186,9 +176,6 @@ int SetupWizard::nextId() const case PAGE_AIRSPEED: return PAGE_SUMMARY; - case PAGE_AIRFRAME_INITIAL_TUNING: - return PAGE_SAVE; - case PAGE_SUMMARY: { switch (getControllerType()) {