Temp sensor adj when in F
This commit is contained in:
@ -267,6 +267,9 @@ void WebServerHandler::webHandleStatus() {
|
|||||||
double tempC = myTempSensor.getTempC(myConfig.isGyroTemp());
|
double tempC = myTempSensor.getTempC(myConfig.isGyroTemp());
|
||||||
double gravity = calculateGravity(angle, tempC);
|
double gravity = calculateGravity(angle, tempC);
|
||||||
|
|
||||||
|
if (myConfig.isTempF()) // If the format is F we need to replace this value
|
||||||
|
doc[PARAM_TEMP_ADJ] = convertCtoF(myConfig.getTempSensorAdjC());
|
||||||
|
|
||||||
doc[PARAM_ID] = myConfig.getID();
|
doc[PARAM_ID] = myConfig.getID();
|
||||||
doc[PARAM_ANGLE] = reduceFloatPrecision(angle);
|
doc[PARAM_ANGLE] = reduceFloatPrecision(angle);
|
||||||
if (myConfig.isGravityTempAdj()) {
|
if (myConfig.isGravityTempAdj()) {
|
||||||
|
@ -21,6 +21,7 @@ v0.9.0
|
|||||||
* BUG: Corrected PIN for voltage read on ESP32
|
* BUG: Corrected PIN for voltage read on ESP32
|
||||||
* BUG: If using plato and not gravity formula was defined the value was set to null.
|
* BUG: If using plato and not gravity formula was defined the value was set to null.
|
||||||
* BUG: Temp format name was incorrect in iSpindle format causing receiver to incorrectly read temperature.
|
* BUG: Temp format name was incorrect in iSpindle format causing receiver to incorrectly read temperature.
|
||||||
|
* BUG: Temperature sensor adjusmemnt value was not handled properly when using Farenheight.
|
||||||
|
|
||||||
v0.8.0
|
v0.8.0
|
||||||
------
|
------
|
||||||
|
Reference in New Issue
Block a user