aboutsummaryrefslogtreecommitdiff
path: root/example-cdc
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2016-06-10 08:25:00 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2016-06-10 08:25:00 +0900
commita6541cbcc650e86c893e5de2a8ca8c5607939c55 (patch)
tree8ecdb5134afef45f9a1dded1fe1c137df23bb862 /example-cdc
parent74c7b5bcb375b9098fe282abb5377eae574fc51b (diff)
NONE sounds bad, use OK instead
Diffstat (limited to 'example-cdc')
-rw-r--r--example-cdc/usb-cdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/example-cdc/usb-cdc.c b/example-cdc/usb-cdc.c
index 5ff2a30..5614425 100644
--- a/example-cdc/usb-cdc.c
+++ b/example-cdc/usb-cdc.c
@@ -739,7 +739,7 @@ tty_main (void *arg)
/* The addres is assigned to the device. We don't
* need to do anything for this actually, but in this
* application, we maintain the USB status of the
- * device. Usually, just "continue" as EVENT_NONE is
+ * device. Usually, just "continue" as EVENT_OK is
* OK.
*/
chopstx_mutex_lock (&tty0.mtx);
@@ -791,7 +791,7 @@ tty_main (void *arg)
usb_ctrl_write_finish (&dev);
continue;
- case USB_EVENT_NONE:
+ case USB_EVENT_OK:
case USB_EVENT_DEVICE_SUSPEND:
default:
continue;