From 157e893ca0b5cca45cce3f3a944fbf207d181be5 Mon Sep 17 00:00:00 2001 From: wwj718 Date: Wed, 15 Aug 2018 18:03:18 +0800 Subject: [PATCH] fix bug #8 Make it work with macOS --- btlejack/link.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btlejack/link.py b/btlejack/link.py index c2539f5..e18db63 100755 --- a/btlejack/link.py +++ b/btlejack/link.py @@ -39,7 +39,7 @@ def __init__(self, interface=None, baudrate=115200): # Pick the first serial port that matches a Micro:Bit if interface is None: for port in comports(): - if port.subsystem == 'usb': + # if port.subsystem == 'usb': if port.vid == 0x0D28 and port.pid == 0x0204: interface = port.device break