mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
00c3b8dbaa
commit
f353ef023f
1 changed files with 5 additions and 0 deletions
|
@ -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};
|
||||
|
|
Loading…
Add table
Reference in a new issue