From fd359f5a88c9cab94713908cc0b79780f22729c3 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Wed, 25 Apr 2018 19:46:43 +0200 Subject: 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 --- desktop-widgets/configuredivecomputerdialog.cpp | 2 -- desktop-widgets/configuredivecomputerdialog.ui | 10 ---------- 2 files changed, 12 deletions(-) (limited to 'desktop-widgets') 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 @@ - - - - Setpoint fallback - - - true - - - -- cgit v1.2.3-70-g09d2