summaryrefslogtreecommitdiff
path: root/apps/examples/usbterm/usbterm.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-03-04 17:38:00 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-03-04 17:38:00 +0000
commit68c754f4ee2a45e89b2f8952c1926e73f2147146 (patch)
tree4c7840655e4f2bccac1f8dcf1ae41be17bdd0234 /apps/examples/usbterm/usbterm.h
parent8e1975393114d786b3699f926a416c3945ec3dfd (diff)
downloadnuttx-68c754f4ee2a45e89b2f8952c1926e73f2147146.tar.gz
nuttx-68c754f4ee2a45e89b2f8952c1926e73f2147146.tar.bz2
nuttx-68c754f4ee2a45e89b2f8952c1926e73f2147146.zip
Several fixes to the PIC32 USB device OUT path logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4451 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/usbterm/usbterm.h')
-rw-r--r--apps/examples/usbterm/usbterm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/examples/usbterm/usbterm.h b/apps/examples/usbterm/usbterm.h
index a889c886d..2534c2f3c 100644
--- a/apps/examples/usbterm/usbterm.h
+++ b/apps/examples/usbterm/usbterm.h
@@ -132,6 +132,8 @@ struct usbterm_globals_s
FILE *instream; /* Stream for incoming USB data */
FILE *outstream; /* Stream for outgoing USB data */
pthread_t listener; /* USB terminal listener thread */
+ bool peer; /* True: A peer is connected to the serial port on
+ * the remote host */
/* Buffers for incoming and outgoing data */