Improved RNode bluetooth hotplug
This commit is contained in:
parent
990cfb024a
commit
c3b9172233
|
@ -1578,7 +1578,7 @@ class SidebandCore():
|
||||||
# TODO: Add more intelligent selection here
|
# TODO: Add more intelligent selection here
|
||||||
target_device = self.owner_app.usb_devices[0]
|
target_device = self.owner_app.usb_devices[0]
|
||||||
|
|
||||||
if target_device or self.config["hw_rnode_bluetooth"]:
|
# if target_device or self.config["hw_rnode_bluetooth"]:
|
||||||
if target_device != None:
|
if target_device != None:
|
||||||
target_port = target_device["port"]
|
target_port = target_device["port"]
|
||||||
else:
|
else:
|
||||||
|
@ -1600,8 +1600,6 @@ class SidebandCore():
|
||||||
RNS.log("Disallowing RNode bluetooth due to missing permission", RNS.LOG_DEBUG)
|
RNS.log("Disallowing RNode bluetooth due to missing permission", RNS.LOG_DEBUG)
|
||||||
rnode_allow_bluetooth = False
|
rnode_allow_bluetooth = False
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if self.config["connect_rnode_ifac_netname"] == "":
|
if self.config["connect_rnode_ifac_netname"] == "":
|
||||||
ifac_netname = None
|
ifac_netname = None
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue