diff options
Diffstat (limited to 'apps/examples/usbserial/host.c')
-rw-r--r-- | apps/examples/usbserial/host.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/examples/usbserial/host.c b/apps/examples/usbserial/host.c index 751b7530c..dfa288f44 100644 --- a/apps/examples/usbserial/host.c +++ b/apps/examples/usbserial/host.c @@ -66,7 +66,11 @@ # endif #endif -#define DEFAULT_TTYDEV "/dev/ttyUSB0" +#ifdef CONFIG_CDCACM +# define DEFAULT_TTYDEV "/dev/ttyACM0" +#else +# define DEFAULT_TTYDEV "/dev/ttyUSB0" +#endif #define BUFFER_SIZE 1024 /**************************************************************************** |