shortening reduced Wx report

This commit is contained in:
richonguzman 2024-09-23 12:15:58 -03:00
parent ddb45544db
commit 202d03c61f
2 changed files with 4 additions and 4 deletions

View File

@ -216,7 +216,7 @@ namespace BME_Utils {
String wx; String wx;
if (isnan(newTemp) || isnan(newHum) || isnan(newPress)) { if (isnan(newTemp) || isnan(newHum) || isnan(newPress)) {
Serial.println("BME/BMP/Si7021 Module data failed"); Serial.println("BME/BMP/Si7021 Module data failed");
wx = ".../...g...t...r...p...P...h..b....."; wx = ".../...g...t...";
fifthLine = ""; fifthLine = "";
return wx; return wx;
} else { } else {
@ -246,7 +246,7 @@ namespace BME_Utils {
wx = ".../...g...t"; wx = ".../...g...t";
wx += tempStr; wx += tempStr;
wx += "r...p...P...h"; wx += "h";
wx += humStr; wx += humStr;
wx += "b"; wx += "b";
wx += presStr; wx += presStr;

View File

@ -199,8 +199,8 @@ namespace Utils {
beaconPacket += sensorData; beaconPacket += sensorData;
secondaryBeaconPacket += sensorData; secondaryBeaconPacket += sensorData;
} else if (Config.bme.active && wxModuleType == 0) { } else if (Config.bme.active && wxModuleType == 0) {
beaconPacket += ".../...g...t...r...p...P...h..b....."; beaconPacket += ".../...g...t...";
secondaryBeaconPacket += ".../...g...t...r...p...P...h..b....."; secondaryBeaconPacket += ".../...g...t...";
} }
beaconPacket += Config.beacon.comment; beaconPacket += Config.beacon.comment;
secondaryBeaconPacket += Config.beacon.comment; secondaryBeaconPacket += Config.beacon.comment;