mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
Update d6t.cxx
This commit is contained in:
parent
d7eac4a878
commit
9fb8f938c5
@ -191,13 +191,13 @@ D6T_STATUS_T D6T::getTemperature(float &ptat, std::vector<float> &temperatureDat
|
|||||||
return D6T_STATUS_SUCCESS;
|
return D6T_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
D6T_STATUS_T D6T::getTemperatureScale(TemperatureUnit &unit)
|
D6T_STATUS_T D6T::getTemperatureScale(upm::TemperatureUnit &unit)
|
||||||
{
|
{
|
||||||
unit = m_tempScale;
|
unit = m_tempScale;
|
||||||
return D6T_STATUS_SUCCESS;
|
return D6T_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
D6T_STATUS_T D6T::setTemperatureScale(TemperatureUnit unit)
|
D6T_STATUS_T D6T::setTemperatureScale(upm::TemperatureUnit unit)
|
||||||
{
|
{
|
||||||
m_tempScale = unit;
|
m_tempScale = unit;
|
||||||
return D6T_STATUS_SUCCESS;
|
return D6T_STATUS_SUCCESS;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user