kopia lustrzana https://github.com/sh123/esp32_loraprs
Set APRSIS filter only when IS to RF is enabled
rodzic
fc0ad84b4b
commit
6a6889fae6
|
@ -23,7 +23,7 @@ void Service::setup(const Config &conf)
|
||||||
|
|
||||||
aprsLoginCommand_ = String("user ") + config_.AprsLogin + String(" pass ") +
|
aprsLoginCommand_ = String("user ") + config_.AprsLogin + String(" pass ") +
|
||||||
config_.AprsPass + String(" vers ") + CfgLoraprsVersion;
|
config_.AprsPass + String(" vers ") + CfgLoraprsVersion;
|
||||||
if (config_.AprsFilter.length() > 0) {
|
if (config_.EnableIsToRf && config_.AprsFilter.length() > 0) {
|
||||||
aprsLoginCommand_ += String(" filter ") + config_.AprsFilter;
|
aprsLoginCommand_ += String(" filter ") + config_.AprsFilter;
|
||||||
}
|
}
|
||||||
aprsLoginCommand_ += String("\n");
|
aprsLoginCommand_ += String("\n");
|
||||||
|
|
Ładowanie…
Reference in New Issue