updated structs of last Stations and 25seg buffer

This commit is contained in:
richonguzman 2024-09-10 14:06:10 -03:00
parent 345fb1e937
commit 14abe14703
5 changed files with 59 additions and 47 deletions

View file

@ -25,7 +25,6 @@ extern String sixthLine;
extern String seventhLine;
extern String iGateBeaconPacket;
extern String iGateLoRaBeaconPacket;
extern std::vector<String> lastHeardStation;
extern int rssi;
extern float snr;
extern int freqError;
@ -36,6 +35,8 @@ extern bool backUpDigiMode;
extern bool shouldSleepLowVoltage;
extern bool transmitFlag;
extern std::vector<LastHeardStation> lastHeardStations;
bool statusAfterBoot = true;
bool beaconUpdate = true;
uint32_t lastBeaconTx = 0;
@ -96,10 +97,10 @@ namespace Utils {
fourthLine = "Stations (";
fourthLine.concat(String(Config.rememberStationTime));
fourthLine.concat("min) = ");
if (lastHeardStation.size() < 10) {
if (lastHeardStations.size() < 10) {
fourthLine += " ";
}
fourthLine.concat(String(lastHeardStation.size()));
fourthLine.concat(String(lastHeardStations.size()));
}
void checkBeaconInterval() {