shortening reduced Wx report
This commit is contained in:
parent
ddb45544db
commit
202d03c61f
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue