Commit 9d137874 authored by Don Gagne's avatar Don Gagne

Remove support for old param sets

parent ffc5f1d9
...@@ -55,7 +55,6 @@ public: ...@@ -55,7 +55,6 @@ public:
private: private:
const QString _name; const QString _name;
QVariantList _summaryItems; QVariantList _summaryItems;
bool _paramsV1;
}; };
#endif #endif
...@@ -20,8 +20,7 @@ Column { ...@@ -20,8 +20,7 @@ Column {
QGCLabel { QGCLabel {
horizontalAlignment: Text.AlignRight; horizontalAlignment: Text.AlignRight;
width: parent.width - compass.contentWidth; width: parent.width - compass.contentWidth;
property bool setupRequiredValue: autopilot.parameters["SENS_MAG_XOFF"] ? autopilot.parameters["SENS_MAG_XOFF"].value : autopilot.parameters["CAL_MAG0_ID"].value text: autopilot.parameters["CAL_MAG0_ID"].value == 0 ? "Setup required" : "Ready"
text: setupRequiredValue == 0 ? "Setup required" : "Ready"
} }
} }
...@@ -32,8 +31,7 @@ Column { ...@@ -32,8 +31,7 @@ Column {
QGCLabel { QGCLabel {
horizontalAlignment: Text.AlignRight; horizontalAlignment: Text.AlignRight;
width: parent.width - gyro.contentWidth; width: parent.width - gyro.contentWidth;
property bool setupRequiredValue: autopilot.parameters["SENS_GYRO_XOFF"] ? autopilot.parameters["SENS_GYRO_XOFF"].value : autopilot.parameters["CAL_GYRO0_ID"].value text: autopilot.parameters["CAL_GYRO0_ID"].value == 0 ? "Setup required" : "Ready"
text: setupRequiredValue == 0 ? "Setup required" : "Ready"
} }
} }
...@@ -44,8 +42,7 @@ Column { ...@@ -44,8 +42,7 @@ Column {
QGCLabel { QGCLabel {
horizontalAlignment: Text.AlignRight; horizontalAlignment: Text.AlignRight;
width: parent.width - accel.contentWidth; width: parent.width - accel.contentWidth;
property bool setupRequiredValue: autopilot.parameters["SENS_ACC_XOFF"] ? autopilot.parameters["SENS_ACC_XOFF"].value : autopilot.parameters["CAL_ACC0_ID"].value text: autopilot.parameters["CAL_ACC0_ID"].value == 0 ? "Setup required" : "Ready"
text: setupRequiredValue == 0 ? "Setup required" : "Ready"
} }
} }
} }
...@@ -20,8 +20,7 @@ Column { ...@@ -20,8 +20,7 @@ Column {
QGCLabel { QGCLabel {
horizontalAlignment: Text.AlignRight; horizontalAlignment: Text.AlignRight;
width: parent.width - compass.contentWidth; width: parent.width - compass.contentWidth;
property bool setupRequiredValue: autopilot.parameters["SENS_MAG_XOFF"] ? autopilot.parameters["SENS_MAG_XOFF"].value : autopilot.parameters["CAL_MAG0_ID"].value text: autopilot.parameters["CAL_MAG0_ID"].value == 0 ? "Setup required" : "Ready"
text: setupRequiredValue == 0 ? "Setup required" : "Ready"
} }
} }
...@@ -32,8 +31,7 @@ Column { ...@@ -32,8 +31,7 @@ Column {
QGCLabel { QGCLabel {
horizontalAlignment: Text.AlignRight; horizontalAlignment: Text.AlignRight;
width: parent.width - gyro.contentWidth; width: parent.width - gyro.contentWidth;
property bool setupRequiredValue: autopilot.parameters["SENS_GYRO_XOFF"] ? autopilot.parameters["SENS_GYRO_XOFF"].value : autopilot.parameters["CAL_GYRO0_ID"].value text: autopilot.parameters["CAL_GYRO0_ID"].value == 0 ? "Setup required" : "Ready"
text: setupRequiredValue == 0 ? "Setup required" : "Ready"
} }
} }
...@@ -44,8 +42,7 @@ Column { ...@@ -44,8 +42,7 @@ Column {
QGCLabel { QGCLabel {
horizontalAlignment: Text.AlignRight; horizontalAlignment: Text.AlignRight;
width: parent.width - accel.contentWidth; width: parent.width - accel.contentWidth;
property bool setupRequiredValue: autopilot.parameters["SENS_ACC_XOFF"] ? autopilot.parameters["SENS_ACC_XOFF"].value : autopilot.parameters["CAL_ACC0_ID"].value text: autopilot.parameters["CAL_ACC0_ID"].value == 0 ? "Setup required" : "Ready"
text: setupRequiredValue == 0 ? "Setup required" : "Ready"
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment