kopia lustrzana https://github.com/sh123/esp32_loraprs
Allow bluetooth in server mode if BtName is not empty
rodzic
f1d7ab4e8e
commit
6e3c25bf29
|
@ -48,7 +48,7 @@ void Service::setup(const Config &conf)
|
||||||
setupWifi(conf.WifiSsid, conf.WifiKey);
|
setupWifi(conf.WifiSsid, conf.WifiKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (needsBt()) {
|
if (needsBt() || conf.BtName.length() > 0) {
|
||||||
setupBt(conf.BtName);
|
setupBt(conf.BtName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue