This commit is contained in:
richonguzman 2023-12-12 11:00:41 -03:00
parent ca15f48ac2
commit 70f81ef8bd
1 changed files with 1 additions and 5 deletions

View File

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