summaryrefslogtreecommitdiff
path: root/demos/host/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-07-03 12:06:07 +0700
committerhathach <[email protected]>2013-07-03 12:06:07 +0700
commitb0f45b3651432c4d4c3072b2a900efbbbf6944a3 (patch)
tree749660553183a861dcce4a9537ef097d73e87bdb /demos/host/src
parent294ddd0acc0169cce3f03ba085151a3115172a1b (diff)
temporarily check cdc mounted by pipe_in & pipe_out
add tests for tusbh_cdc_xfer_isr
Diffstat (limited to 'demos/host/src')
-rw-r--r--demos/host/src/cdc_serial_app.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/host/src/cdc_serial_app.c b/demos/host/src/cdc_serial_app.c
index d8d97c473..6738a1b85 100644
--- a/demos/host/src/cdc_serial_app.c
+++ b/demos/host/src/cdc_serial_app.c
@@ -116,7 +116,9 @@ OSAL_TASK_FUNCTION( cdc_serial_app_task ) (void* p_task_para)
osal_queue_receive(queue_hdl, &c, OSAL_TIMEOUT_WAIT_FOREVER, &error);
if (c)
+ {
printf("%c", c);
+ }
OSAL_TASK_LOOP_END
}