mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-02-09 17:24:23 +01:00
cambio3
This commit is contained in:
parent
4f9eac9e5c
commit
ae3947b7ea
|
|
@ -18,8 +18,7 @@ struct LastHeardStation {
|
|||
|
||||
namespace STATION_Utils {
|
||||
|
||||
void loadBlacklist();
|
||||
void loadManagers();
|
||||
void loadBlacklistAndManagers();
|
||||
bool isBlacklisted(const String& callsign);
|
||||
bool isManager(const String& callsign);
|
||||
bool checkObjectTime(const String& packet);
|
||||
|
|
|
|||
|
|
@ -86,8 +86,7 @@ void setup() {
|
|||
LoRa_Utils::setup();
|
||||
Utils::validateFreqs();
|
||||
GPS_Utils::setup();
|
||||
STATION_Utils::loadBlacklist();
|
||||
STATION_Utils::loadManagers();
|
||||
STATION_Utils::loadBlacklistAndManagers();
|
||||
|
||||
#ifdef STARTUP_DELAY // (TEST) just to wait for WiFi init of Routers
|
||||
displayShow("", " STARTUP DELAY ...", "", "", 0);
|
||||
|
|
|
|||
|
|
@ -45,12 +45,9 @@ namespace STATION_Utils {
|
|||
return loadedList;
|
||||
}
|
||||
|
||||
void loadBlacklist() {
|
||||
blacklist = loadCallSignList(Config.blacklist);
|
||||
}
|
||||
|
||||
void loadManagers() {
|
||||
managers = loadCallSignList(Config.remoteManagement.managers);
|
||||
void loadBlacklistAndManagers() {
|
||||
blacklist = loadCallSignList(Config.blacklist);
|
||||
managers = loadCallSignList(Config.remoteManagement.managers);
|
||||
}
|
||||
|
||||
bool checkCallsignList(const std::vector<String>& list, const String& callsign) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue