From 8fdfcce488e60debb87eeea01219a9910d08587b Mon Sep 17 00:00:00 2001 From: richonguzman Date: Thu, 1 Jun 2023 13:18:19 -0400 Subject: [PATCH] identation1 --- src/LoRa_APRS_Tracker.cpp | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/LoRa_APRS_Tracker.cpp b/src/LoRa_APRS_Tracker.cpp index f23c7da..d6636ba 100644 --- a/src/LoRa_APRS_Tracker.cpp +++ b/src/LoRa_APRS_Tracker.cpp @@ -902,25 +902,25 @@ void loop() { infoField += currentBeacon->symbol; if (Config.sendAltitude) { // Send Altitude or... (APRS calculates Speed also) - int Alt1, Alt2; - int Talt; - Talt = gps.altitude.feet(); - if(Talt>0){ - double ALT=log(Talt)/log(1.002); - Alt1= int(ALT/91); - Alt2=(int)ALT%91; - }else{ - Alt1=0; - Alt2=0; - } - if (sendStandingUpdate) { - infoField += " "; - } else { - infoField +=char(Alt1+33); - } - infoField +=char(Alt2+33); - infoField +=char(0x30+33); - } else { // ... just send Course and Speed + int Alt1, Alt2; + int Talt; + Talt = gps.altitude.feet(); + if(Talt>0){ + double ALT=log(Talt)/log(1.002); + Alt1= int(ALT/91); + Alt2=(int)ALT%91; + }else{ + Alt1=0; + Alt2=0; + } + if (sendStandingUpdate) { + infoField += " "; + } else { + infoField +=char(Alt1+33); + } + infoField +=char(Alt2+33); + infoField +=char(0x30+33); + } else { // ... just send Course and Speed ax25_base91enc(helper_base91, 1, (uint32_t) Tcourse/4 ); if (sendStandingUpdate) { infoField += " ";