summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2018-04-25 19:46:43 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-04-27 21:33:47 +0300
commitfd359f5a88c9cab94713908cc0b79780f22729c3 (patch)
treeb43f50a076fb5cf9ebc3aa1c0a9aa4e4c5b23f6d /desktop-widgets
parent6582896e7f7868170d6418e66e1021d54f2d1710 (diff)
downloadsubsurface-fd359f5a88c9cab94713908cc0b79780f22729c3.tar.gz
Configure ostc3: Remove obsoleted setting
In firmware version 2.97 the setting 0x38, SETPOINT FALLBACK, has bin obsoleted and we get a error when trying to write to it. This removes this setting. Signed-off-by: Anton Lundin <glance@acc.umu.se>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/configuredivecomputerdialog.cpp2
-rw-r--r--desktop-widgets/configuredivecomputerdialog.ui10
2 files changed, 0 insertions, 12 deletions
diff --git a/desktop-widgets/configuredivecomputerdialog.cpp b/desktop-widgets/configuredivecomputerdialog.cpp
index bf6b9cc34..b0925ddb0 100644
--- a/desktop-widgets/configuredivecomputerdialog.cpp
+++ b/desktop-widgets/configuredivecomputerdialog.cpp
@@ -463,7 +463,6 @@ void ConfigureDiveComputerDialog::populateDeviceDetailsOSTC3()
deviceDetails->aGFLow = ui.aGFLowSpinBox->value();
deviceDetails->calibrationGas = ui.calibrationGasSpinBox->value();
deviceDetails->flipScreen = ui.flipScreenCheckBox->isChecked();
- deviceDetails->setPointFallback = ui.setPointFallbackCheckBox->isChecked();
deviceDetails->leftButtonSensitivity = ui.leftButtonSensitivity->value();
deviceDetails->rightButtonSensitivity = ui.rightButtonSensitivity->value();
deviceDetails->bottomGasConsumption = ui.bottomGasConsumption->value();
@@ -1000,7 +999,6 @@ void ConfigureDiveComputerDialog::reloadValuesOSTC3()
ui.aGFLowSpinBox->setValue(deviceDetails->aGFLow);
ui.calibrationGasSpinBox->setValue(deviceDetails->calibrationGas);
ui.flipScreenCheckBox->setChecked(deviceDetails->flipScreen);
- ui.setPointFallbackCheckBox->setChecked(deviceDetails->setPointFallback);
ui.leftButtonSensitivity->setValue(deviceDetails->leftButtonSensitivity);
ui.rightButtonSensitivity->setValue(deviceDetails->rightButtonSensitivity);
ui.bottomGasConsumption->setValue(deviceDetails->bottomGasConsumption);
diff --git a/desktop-widgets/configuredivecomputerdialog.ui b/desktop-widgets/configuredivecomputerdialog.ui
index e8cc84efd..51e429908 100644
--- a/desktop-widgets/configuredivecomputerdialog.ui
+++ b/desktop-widgets/configuredivecomputerdialog.ui
@@ -2415,16 +2415,6 @@
</item>
</widget>
</item>
- <item row="3" column="3">
- <widget class="QCheckBox" name="setPointFallbackCheckBox">
- <property name="text">
- <string>Setpoint fallback</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
<item row="6" column="2">
<spacer>
<property name="orientation">