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:
Anton Lundin 2014-10-10 07:34:12 +02:00 committed by Dirk Hohndel
parent 00c3b8dbaa
commit f353ef023f

View file

@ -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};