From 5b11425cea250d79f13ad2e6d70c3f2191736faf Mon Sep 17 00:00:00 2001 From: Christian OE3CJB Bauer Date: Thu, 13 May 2021 10:48:34 +0200 Subject: [PATCH] WX TRACKER mode correction --- src/TTGO_T-Beam_LoRa_APRS.ino | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/TTGO_T-Beam_LoRa_APRS.ino b/src/TTGO_T-Beam_LoRa_APRS.ino index 801fc69..245fb2d 100644 --- a/src/TTGO_T-Beam_LoRa_APRS.ino +++ b/src/TTGO_T-Beam_LoRa_APRS.ino @@ -999,6 +999,17 @@ switch(tracker_mode) { outString += String(Lon,2); outString += Ew; outString += TxSymbol; + if(Tcourse<100) {outString += "0"; } + if(Tcourse<10) {outString += "0"; } + Coursex = String(Tcourse,0); + Coursex.replace(" ",""); + outString += Coursex; + outString += "/"; + if(Tspeed<100) {outString += "0"; } + if(Tspeed<10) {outString += "0"; } + Speedx = String(Tspeed,0); + Speedx.replace(" ",""); + outString += Speedx; #else for (i=0; i