summaryrefslogtreecommitdiff
path: root/apps/examples/usbterm/usbterm.h
diff options
context:
space:
mode:
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 */