Merge pull request #26 from oe3cjb/trackermode_correction

WX TRACKER mode correction
pull/27/head
oe3cjb 2022-06-03 13:26:35 +02:00 zatwierdzone przez GitHub
commit 5aa5dd81a1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 11 dodań i 0 usunięć

Wyświetl plik

@ -1031,6 +1031,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<Tcall.length();++i){ // remove unneeded "spaces" from callsign field
if (Tcall.charAt(i) != ' ') {