Allow bluetooth in server mode if BtName is not empty

pull/15/head
sh123 2020-12-06 12:52:31 +02:00
rodzic f1d7ab4e8e
commit 6e3c25bf29
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -48,7 +48,7 @@ void Service::setup(const Config &conf)
setupWifi(conf.WifiSsid, conf.WifiKey);
}
if (needsBt()) {
if (needsBt() || conf.BtName.length() > 0) {
setupBt(conf.BtName);
}