diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-29 21:53:28 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-29 21:53:28 +0000 |
commit | 5faa1bd9cefb4e7a2319faaa5b36da9140aba16a (patch) | |
tree | 358673f55511cec814532fbf08a11847936c38cf /apps/examples/usbserial/host.c | |
parent | 286b14b0c9d2dbad599e80cac9c269c9cd96b408 (diff) | |
download | px4-nuttx-5faa1bd9cefb4e7a2319faaa5b36da9140aba16a.tar.gz px4-nuttx-5faa1bd9cefb4e7a2319faaa5b36da9140aba16a.tar.bz2 px4-nuttx-5faa1bd9cefb4e7a2319faaa5b36da9140aba16a.zip |
A little more work (but not much progress) on the PIC32 USB device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4440 42af7a65-404d-4744-a932-0658087f49c3
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 /**************************************************************************** |