Update d6t.cxx

This commit is contained in:
omron-ankit 2019-08-07 16:06:42 -05:00 committed by GitHub
parent d7eac4a878
commit 9fb8f938c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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