Merge pull request #290 from neffs/master

Use more serial devices on Mac OS X
This commit is contained in:
Romuald Conty 2015-04-07 11:01:07 +02:00
commit eeb226aceb

View file

@ -74,7 +74,7 @@
#endif
# if defined(__APPLE__)
const char *serial_ports_device_radix[] = { "tty.SLAB_USBtoUART", "tty.usbserial-", NULL };
const char *serial_ports_device_radix[] = { "tty.SLAB_USBtoUART", "tty.usbserial", "tty.usbmodem", NULL };
# elif defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__FreeBSD_kernel__)
const char *serial_ports_device_radix[] = { "cuaU", "cuau", NULL };
# elif defined (__linux__)