We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7425fc3 commit a55d6afCopy full SHA for a55d6af
app/src/main/java/no/nordicsemi/android/nrftoolbox/hts/HTSManager.java
@@ -122,10 +122,10 @@ private double decodeTemperature(byte[] data) throws Exception {
122
123
/*
124
* Conversion of temperature unit from Fahrenheit to Celsius if unit is in Fahrenheit
125
- * Celsius = (98.6*Fahrenheit -32) 5/9
+ * Celsius = (Fahrenheit -32) 5/9
126
*/
127
if ((flag & FIRST_BIT_MASK) != 0) {
128
- temperatureValue = (float) ((98.6 * temperatureValue - 32) * (5 / 9.0));
+ temperatureValue = (float) ((temperatureValue - 32) * (5 / 9.0));
129
}
130
return temperatureValue;
131
0 commit comments