mirror of
https://github.com/markqvist/Sideband.git
synced 2025-07-25 15:55:38 -04:00
Improved RNode bluetooth hotplug
This commit is contained in:
parent
990cfb024a
commit
c3b9172233
1 changed files with 65 additions and 67 deletions
|
@ -1578,7 +1578,7 @@ class SidebandCore():
|
|||
# TODO: Add more intelligent selection here
|
||||
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:
|
||||
target_port = target_device["port"]
|
||||
else:
|
||||
|
@ -1600,8 +1600,6 @@ class SidebandCore():
|
|||
RNS.log("Disallowing RNode bluetooth due to missing permission", RNS.LOG_DEBUG)
|
||||
rnode_allow_bluetooth = False
|
||||
|
||||
|
||||
|
||||
if self.config["connect_rnode_ifac_netname"] == "":
|
||||
ifac_netname = None
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue