diff --git a/src/station_utils.cpp b/src/station_utils.cpp index 5845184..79ecf02 100644 --- a/src/station_utils.cpp +++ b/src/station_utils.cpp @@ -1,14 +1,7 @@ #include "station_utils.h" #include #include "configuration.h" -/*#include -#include "configuration.h" -#include "display.h" - -extern WiFiClient espClient; -extern int internalLedPin; -extern uint32_t lastRxTxTime;*/ extern Configuration Config; extern std::vector lastHeardStation; extern std::vector lastHeardStation_temp; @@ -16,11 +9,10 @@ extern std::vector lastHeardStation_temp; namespace STATION_Utils { void deleteNotHeard() { - uint32_t minReportingTime = Config.rememberStationTime*60*1000; for (int i=0; i Listened Station"); + return true; } } - if (!validStation) { - Serial.println(" ---> Station not Heard for last 30 min (Not Tx)\n"); - } - return validStation; + Serial.println(" ---> Station not Heard for last 30 min (Not Tx)\n"); + return false; } } \ No newline at end of file