Bugfix for empty relay path

Bugfix for https://github.com/SQ9MDD/TTGO-T-Beam-LoRa-APRS/issues/63
This commit is contained in:
MiGri 2021-09-14 21:24:09 +02:00 committed by GitHub
parent 1d6910029a
commit ed8bf0e1d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -248,10 +248,10 @@ void prepareAPRSFrame(){
outString = "";
outString += Tcall;
if (relay_path){
outString += ">APLO01," + relay_path + ":!";
}else{
if (relay_path.isEmpy()){
outString += ">APLO01:!";
}else{
outString += ">APLO01," + relay_path + ":!";
}
if(gps_state && gps.location.isValid()){