diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-10-18 00:33:45 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-10-18 15:22:05 -0700 |
commit | d266fce08ef029669a8142ee1d5b9d6c8bc636af (patch) | |
tree | 54612891069400336159e0653f7103998e073629 /configuredivecomputerthreads.cpp | |
parent | b2a9de7cb447838344d854a8630a1e2ea03e0838 (diff) | |
download | subsurface-d266fce08ef029669a8142ee1d5b9d6c8bc636af.tar.gz |
Read/Write more settings from the OSTC3
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'configuredivecomputerthreads.cpp')
-rw-r--r-- | configuredivecomputerthreads.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/configuredivecomputerthreads.cpp b/configuredivecomputerthreads.cpp index 7af7636e6..63ceb636f 100644 --- a/configuredivecomputerthreads.cpp +++ b/configuredivecomputerthreads.cpp @@ -405,6 +405,21 @@ void ReadSettingsThread::run() READ_SETTING(OSTC3_LANGUAGE, setLanguage) READ_SETTING(OSTC3_DATE_FORMAT, setDateFormat) READ_SETTING(OSTC3_COMPASS_GAIN, setCompassGain) + READ_SETTING(OSTC3_SAFETY_STOP, setSafetyStop) + READ_SETTING(OSTC3_GF_HIGH, setGfHigh) + READ_SETTING(OSTC3_GF_LOW, setGfLow) + READ_SETTING(OSTC3_PRESSURE_SENSOR_OFFSET, setPressureSensorOffset) + READ_SETTING(OSTC3_PPO2_MIN, setPpO2Min) + READ_SETTING(OSTC3_PPO2_MAX, setPpO2Max) + READ_SETTING(OSTC3_FUTURE_TTS, setFutureTTS) + READ_SETTING(OSTC3_CCR_MODE, setCcrMode) + READ_SETTING(OSTC3_DECO_TYPE, setDecoType) + READ_SETTING(OSTC3_AGF_SELECTABLE, setAGFSelectable) + READ_SETTING(OSTC3_AGF_HIGH, setAGFHigh) + READ_SETTING(OSTC3_AGF_LOW, setAGFLow) + READ_SETTING(OSTC3_CALIBRATION_GAS_O2, setCalibrationGas) + READ_SETTING(OSTC3_FLIP_SCREEN, setFlipScreen) + READ_SETTING(OSTC3_SETPOINT_FALLBACK, setSetPointFallback) #undef READ_SETTING @@ -618,6 +633,21 @@ void WriteSettingsThread::run() WRITE_SETTING(OSTC3_LANGUAGE, language) WRITE_SETTING(OSTC3_DATE_FORMAT, dateFormat) WRITE_SETTING(OSTC3_COMPASS_GAIN, compassGain) + WRITE_SETTING(OSTC3_SAFETY_STOP, safetyStop) + WRITE_SETTING(OSTC3_GF_HIGH, gfHigh) + WRITE_SETTING(OSTC3_GF_LOW, gfLow) + WRITE_SETTING(OSTC3_PRESSURE_SENSOR_OFFSET, pressureSensorOffset) + WRITE_SETTING(OSTC3_PPO2_MIN, ppO2Min) + WRITE_SETTING(OSTC3_PPO2_MAX, ppO2Max) + WRITE_SETTING(OSTC3_FUTURE_TTS, futureTTS) + WRITE_SETTING(OSTC3_CCR_MODE, ccrMode) + WRITE_SETTING(OSTC3_DECO_TYPE, decoType) + WRITE_SETTING(OSTC3_AGF_SELECTABLE, aGFSelectable) + WRITE_SETTING(OSTC3_AGF_HIGH, aGFHigh) + WRITE_SETTING(OSTC3_AGF_LOW, aGFLow) + WRITE_SETTING(OSTC3_CALIBRATION_GAS_O2, calibrationGas) + WRITE_SETTING(OSTC3_FLIP_SCREEN, flipScreen) + WRITE_SETTING(OSTC3_SETPOINT_FALLBACK, setPointFallback) #undef WRITE_SETTING |