From 86301f7c54f3dd559031d83967d870c1e04b544c Mon Sep 17 00:00:00 2001 From: richonguzman Date: Tue, 7 May 2024 11:37:33 -0400 Subject: [PATCH] old buffer var cleanup --- src/LoRa_APRS_Tracker.cpp | 16 ++++++---------- src/msg_utils.cpp | 2 -- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/src/LoRa_APRS_Tracker.cpp b/src/LoRa_APRS_Tracker.cpp index ffe2236..0785b25 100644 --- a/src/LoRa_APRS_Tracker.cpp +++ b/src/LoRa_APRS_Tracker.cpp @@ -117,16 +117,12 @@ bool miceActive = false; bool smartBeaconValue = true; -int ackRequestNumber; // numero generado para los request que se pediran -uint32_t lastMsgRxTime = millis(); // tiempo que se actualiza de cada mensaje recibido -bool ackRequestState = false; // activa proceso escucha/espera de ack enviado. -String ackCallsignRequest = ""; // de quien espero ack -String ackNumberRequest = ""; // cual ack espero - -// -String ackDataExpected = ""; +int ackRequestNumber; +bool ackRequestState = false; +String ackCallsignRequest = ""; +String ackNumberRequest = ""; +uint32_t lastMsgRxTime = millis(); uint32_t lastRetryTime = millis(); -// uint8_t winlinkStatus = 0; String winlinkMailNumber = "_?"; @@ -155,7 +151,7 @@ void setup() { STATION_Utils::loadIndex(0); STATION_Utils::loadIndex(1); startupScreen(loraIndex, versionDate); - + MSG_Utils::loadNumMessages(); GPS_Utils::setup(); currentLoRaType = &Config.loraTypes[loraIndex]; diff --git a/src/msg_utils.cpp b/src/msg_utils.cpp index 894f137..f44e469 100644 --- a/src/msg_utils.cpp +++ b/src/msg_utils.cpp @@ -34,9 +34,7 @@ extern String ackNumberRequest; extern bool ackRequestState; extern int ackRequestNumber; -// extern uint32_t lastTxTime; -extern String ackDataExpected; extern uint8_t winlinkStatus;