summaryrefslogtreecommitdiffstats
path: root/configuredivecomputerthreads.cpp
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-10-10 07:34:12 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-10 02:43:34 -0400
commitf353ef023ff0ed34b68c04109933623ee27198b1 (patch)
treeddc6a04d9bea5ce3cb110bfb7abd9cca61916a38 /configuredivecomputerthreads.cpp
parent00c3b8dbaa2b65516bfe145d376339997534400a (diff)
downloadsubsurface-f353ef023ff0ed34b68c04109933623ee27198b1.tar.gz
Store the setpoint values read from OSTC3
The setpoint values was never stored in the deviceinfo object. 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.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/configuredivecomputerthreads.cpp b/configuredivecomputerthreads.cpp
index 7958d04ff..04954ad2b 100644
--- a/configuredivecomputerthreads.cpp
+++ b/configuredivecomputerthreads.cpp
@@ -237,6 +237,11 @@ void ReadSettingsThread::run()
sp5.depth = dilData[1];
}
+ m_deviceDetails->setSp1(sp1);
+ m_deviceDetails->setSp2(sp2);
+ m_deviceDetails->setSp3(sp3);
+ m_deviceDetails->setSp4(sp4);
+ m_deviceDetails->setSp5(sp5);
//Read other settings
unsigned char uData[1] = {0};