Show altitude only if gps is valid
parent
743fbe50b3
commit
8ff824d322
|
@ -217,6 +217,10 @@ void recalcGPS(){
|
|||
ax25_base91enc(helper_base91, 1, (uint32_t) (log1p(Tspeed)/0.07696));
|
||||
outString += helper_base91[0];
|
||||
outString += "\x48";
|
||||
#ifdef SHOW_ALT
|
||||
outString += "/A=";
|
||||
outString += Altx;
|
||||
#endif
|
||||
}else{
|
||||
outString += LATIDUDE_PRESET;
|
||||
outString += APRS_SYMBOL_TABLE;
|
||||
|
@ -224,11 +228,6 @@ void recalcGPS(){
|
|||
outString += APRS_SYMBOL;
|
||||
}
|
||||
|
||||
#ifdef SHOW_ALT
|
||||
outString += "/A=";
|
||||
outString += Altx;
|
||||
#endif
|
||||
|
||||
outString += MY_COMMENT;
|
||||
|
||||
#ifdef SHOW_BATT // battery is not frame part move after comment
|
||||
|
|
Loading…
Reference in New Issue