test2
This commit is contained in:
parent
ca15f48ac2
commit
70f81ef8bd
|
|
@ -168,7 +168,7 @@ namespace BME_Utils {
|
||||||
#ifndef BMPSensor
|
#ifndef BMPSensor
|
||||||
humStr = generateHumString(newHum,type);
|
humStr = generateHumString(newHum,type);
|
||||||
#else
|
#else
|
||||||
humStr = "-99";
|
humStr = "..";
|
||||||
#endif
|
#endif
|
||||||
presStr = generatePresString(newPress + (Config.bme.heightCorrection/CORRECTION_FACTOR), type);
|
presStr = generatePresString(newPress + (Config.bme.heightCorrection/CORRECTION_FACTOR), type);
|
||||||
if (type == "OLED") {
|
if (type == "OLED") {
|
||||||
|
|
@ -178,11 +178,7 @@ namespace BME_Utils {
|
||||||
wx = "T: " + tempStr + "C " + "P: " + presStr + "hPa";
|
wx = "T: " + tempStr + "C " + "P: " + presStr + "hPa";
|
||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
#ifndef BMPSensor
|
|
||||||
wx = ".../...g...t" + tempStr + "r...p...P...h" + humStr + "b" + presStr;
|
wx = ".../...g...t" + tempStr + "r...p...P...h" + humStr + "b" + presStr;
|
||||||
#else
|
|
||||||
wx = ".../...g...t" + tempStr + "r...p...P...h..b" + presStr;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
return wx;
|
return wx;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue