kopia lustrzana https://github.com/lora-aprs/LoRa_APRS_Tracker
fix nocall check
rodzic
33c205e268
commit
f8376a6985
|
@ -365,7 +365,7 @@ void load_config() {
|
||||||
ConfigurationManagement confmg("/tracker.json");
|
ConfigurationManagement confmg("/tracker.json");
|
||||||
Config = confmg.readConfiguration();
|
Config = confmg.readConfiguration();
|
||||||
BeaconMan.loadConfig(Config.beacons);
|
BeaconMan.loadConfig(Config.beacons);
|
||||||
if (BeaconMan.getCurrentBeaconConfig()->callsign == "NOCALL-10") {
|
if (BeaconMan.getCurrentBeaconConfig()->callsign == "NOCALL-7") {
|
||||||
logger.log(logging::LoggerLevel::LOGGER_LEVEL_ERROR, "Config",
|
logger.log(logging::LoggerLevel::LOGGER_LEVEL_ERROR, "Config",
|
||||||
"You have to change your settings in 'data/tracker.json' and "
|
"You have to change your settings in 'data/tracker.json' and "
|
||||||
"upload it via \"Upload File System image\"!");
|
"upload it via \"Upload File System image\"!");
|
||||||
|
|
Ładowanie…
Reference in New Issue