mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-04-05 14:37:05 +00:00
improvement: use LoRa WX icon when using BME
This commit is contained in:
parent
c8cde0a404
commit
d16e407269
3 changed files with 7 additions and 3 deletions
|
|
@ -108,10 +108,11 @@ namespace Utils {
|
|||
|
||||
if (Config.bme.active) {
|
||||
String sensorData = BME_Utils::readDataSensor();
|
||||
beaconPacket = iGateBeaconPacket.substring(0,iGateBeaconPacket.indexOf(":=")+20) + "_" + sensorData + iGateBeaconPacket.substring(iGateBeaconPacket.indexOf(":=")+21);
|
||||
|
||||
beaconPacket = iGateBeaconPacket + sensorData + Config.beacon.comment;
|
||||
secondaryBeaconPacket = iGateLoRaBeaconPacket + sensorData + Config.beacon.comment;
|
||||
} else {
|
||||
beaconPacket = iGateBeaconPacket;
|
||||
beaconPacket = iGateBeaconPacket + Config.beacon.comment;
|
||||
secondaryBeaconPacket = iGateLoRaBeaconPacket + Config.beacon.comment;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue