Skip to content

Commit

Permalink
add apple usb cdc device name to globs
Browse files Browse the repository at this point in the history
  • Loading branch information
andete committed Mar 6, 2014
1 parent cefa754 commit bfb0200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ble.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def address_response(self, sender, args):

def auto_detect_serial(self):
import glob
glist = glob.glob('/dev/ttyACM*') + glob.glob('/dev/ttyUSB*')
glist = glob.glob('/dev/ttyACM*') + glob.glob('/dev/ttyUSB*') + glob.glob('/dev/cu.usbmodem*')
self.auto_detected = False
for port in glist:
print "trying", port
Expand Down

0 comments on commit bfb0200

Please sign in to comment.