mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-11 00:52:21 +01:00
f91670e0d0
JSSC, on unix based systems like linux and MacOSX, when listing serial ports tries to open each port to ensure its existence. While this check works well for linux ports /dev/ttyS0..31, it leads to unexpected behaviuors on MacOSX in particular with USB-CDC virtual serial ports. This patch disable the check and keep it enabled only for linux ttySxx ports. This adds also tty.* and cu.* to the list of available serial ports on MacOSX.