small bugfix

Signed-off-by: DL3EL <dl3el@darc.de>
This commit is contained in:
DL3EL 2022-06-14 16:44:18 +02:00
parent 0235bb1bfe
commit b4b6aa887a
2 changed files with 45 additions and 3 deletions

View file

@ -8,7 +8,27 @@
"timeout": 1,
"symbol": "[",
"overlay": "/",
"type": "t",
"type": "W",
"smart_beacon": {
"active": true,
"turn_min": 25,
"slow_rate": 300,
"slow_speed": 2,
"fast_rate": 60,
"fast_speed": 5,
"min_tx_dist": 100,
"min_bcn": 5
},
"enhance_precision": true
},
{
"callsign": "NOCALL-7",
"path": "WIDE1-1",
"message": "LoRa Tracker",
"timeout": 1,
"symbol": "[",
"overlay": "/",
"type": "C",
"smart_beacon": {
"active": true,
"turn_min": 25,
@ -20,6 +40,26 @@
"min_bcn": 5
},
"enhance_precision": true
},
{
"callsign": "NOCALL-7",
"path": "WIDE1-1",
"message": "LoRa Tracker",
"timeout": 1,
"symbol": "[",
"overlay": "/",
"type": "B",
"smart_beacon": {
"active": true,
"turn_min": 25,
"slow_rate": 300,
"slow_speed": 5,
"fast_rate": 60,
"fast_speed": 20,
"min_tx_dist": 100,
"min_bcn": 5
},
"enhance_precision": true
}
],
"button": {
@ -41,4 +81,4 @@
"end_delay": 0,
"reverse": false
}
}
}

View file

@ -206,6 +206,7 @@ void loop() {
}
}
String csa = "";
if (send_update && gps_loc_update) {
send_update = false;
@ -289,7 +290,8 @@ void loop() {
digitalWrite(Config.ptt.io_pin, Config.ptt.reverse ? LOW : HIGH);
delay(Config.ptt.start_delay);
}
csa = alt + "/" + course_and_speed;
LoRa.beginPacket();
// Header:
LoRa.write('<');