added support for 'Abstract Control Model' tty's for things like the Arduino Teensy that use USB-CDC
svn path=/trunk/externals/iem/comport/; revision=13225
This commit is contained in:
parent
6609bc6fbd
commit
756fc5b17b
1 changed files with 2 additions and 1 deletions
|
|
@ -1219,7 +1219,8 @@ allows COM port numbers to be specified. */
|
||||||
serial_device_prefix = "/dev/ttyd*";
|
serial_device_prefix = "/dev/ttyd*";
|
||||||
#endif /* IRIX */
|
#endif /* IRIX */
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
serial_device_prefix = "/dev/tty[SU]*";
|
/* serial: ttyS? USB-serial: ttyUSB? USB-CDC: ttyACM? */
|
||||||
|
serial_device_prefix = "/dev/tty[ASU]*";
|
||||||
#endif /* __linux__ */
|
#endif /* __linux__ */
|
||||||
|
|
||||||
if(argc > 0 && argv->a_type == A_FLOAT)
|
if(argc > 0 && argv->a_type == A_FLOAT)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue