diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-26 18:05:26 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-26 18:05:26 +0000 |
commit | 1caf0a84f85f55d2d34066797cd46ecea8c7627e (patch) | |
tree | 79d45d0fafaa9a0386e6c52ebcef2fc2d09233d4 /apps/examples/usbserial | |
parent | 43a2d9869b3d779403c65fa99a8ba820af57ffa9 (diff) | |
download | px4-nuttx-1caf0a84f85f55d2d34066797cd46ecea8c7627e.tar.gz px4-nuttx-1caf0a84f85f55d2d34066797cd46ecea8c7627e.tar.bz2 px4-nuttx-1caf0a84f85f55d2d34066797cd46ecea8c7627e.zip |
Add support for the USB trace cability in NSH when a USB console is used
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4774 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/usbserial')
-rw-r--r-- | apps/examples/usbserial/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/usbserial/main.c b/apps/examples/usbserial/main.c index eea905c98..4e59c1ece 100644 --- a/apps/examples/usbserial/main.c +++ b/apps/examples/usbserial/main.c @@ -71,6 +71,7 @@ # define COUNTER_NEEDED 1 # endif #endif + #ifdef CONFIG_EXAMPLES_USBSERIAL_TRACEINIT # define TRACE_INIT_BITS (TRACE_INIT_BIT) #else @@ -106,7 +107,6 @@ #define TRACE_BITSET (TRACE_INIT_BITS|TRACE_ERROR_BITS|TRACE_CLASS_BITS|\ TRACE_TRANSFER_BITS|TRACE_CONTROLLER_BITS|TRACE_INTERRUPT_BITS) - #ifdef CONFIG_CPP_HAVE_VARARGS # ifdef CONFIG_DEBUG # define message(...) lib_lowprintf(__VA_ARGS__) |