summaryrefslogtreecommitdiff
path: root/nuttx/examples/usbserial/host.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-11-04 14:54:12 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-11-04 14:54:12 +0000
commitdf03104253abf029febabecd177ef170dbc84cf8 (patch)
treeca2c05122313f229dc644b578884be339a24ec03 /nuttx/examples/usbserial/host.c
parent16ed588b6d2a806f1ceb63ed6c1fb804c9a3ee66 (diff)
downloadpx4-nuttx-df03104253abf029febabecd177ef170dbc84cf8.tar.gz
px4-nuttx-df03104253abf029febabecd177ef170dbc84cf8.tar.bz2
px4-nuttx-df03104253abf029febabecd177ef170dbc84cf8.zip
USB serial update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2219 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/usbserial/host.c')
-rw-r--r--nuttx/examples/usbserial/host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/examples/usbserial/host.c b/nuttx/examples/usbserial/host.c
index 90cb85ed7..235d1f402 100644
--- a/nuttx/examples/usbserial/host.c
+++ b/nuttx/examples/usbserial/host.c
@@ -159,7 +159,7 @@ static void show_usage(const char *progname, int exitcode)
int main(int argc, char **argv, char **envp)
{
struct termios tty;
-#ifndef CONFIG_EXAMPLES_USBSERIAL_INONLY
+#ifndef CONFIG_EXAMPLES_USBSERIAL_OUTONLY
ssize_t nbytes;
#endif
#ifdef COUNTER_NEEDED