From b55bd1d4596db5dad944a95ef5a7778ea80c6218 Mon Sep 17 00:00:00 2001 From: Brikwerk Date: Tue, 29 Dec 2020 15:23:13 -0800 Subject: [PATCH] Updated controller API use --- scripts/crash_switch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/crash_switch.py b/scripts/crash_switch.py index 77fa6c9..487f147 100644 --- a/scripts/crash_switch.py +++ b/scripts/crash_switch.py @@ -146,6 +146,7 @@ def print_msg_switch(data): bt = BlueZ(adapter_path="/org/bluez/hci0") controller = Controller(bt, PRO_CONTROLLER) + controller.setup() # Switch sockets switch_itr = socket.socket(family=socket.AF_BLUETOOTH,