Set APRSIS filter only when IS to RF is enabled

pull/15/head
sh123 2021-05-28 20:25:37 +03:00
rodzic fc0ad84b4b
commit 6a6889fae6
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -23,7 +23,7 @@ void Service::setup(const Config &conf)
aprsLoginCommand_ = String("user ") + config_.AprsLogin + String(" pass ") +
config_.AprsPass + String(" vers ") + CfgLoraprsVersion;
if (config_.AprsFilter.length() > 0) {
if (config_.EnableIsToRf && config_.AprsFilter.length() > 0) {
aprsLoginCommand_ += String(" filter ") + config_.AprsFilter;
}
aprsLoginCommand_ += String("\n");