[PATCH 1/4] Store the setpoint values read from OSTC3
Anton Lundin
glance at acc.umu.se
Thu Oct 9 22:34:12 PDT 2014
The setpoint values was never stored in the deviceinfo object.
Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
configuredivecomputerthreads.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configuredivecomputerthreads.cpp b/configuredivecomputerthreads.cpp
index 7958d04..04954ad 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};
--
1.9.1
More information about the subsurface
mailing list