aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/hal_usb.c
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-01-14 09:34:28 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-01-14 09:34:28 +0000
commitecd03e17cec7c9d2d928314d59e9d4ed427f74c3 (patch)
tree3ad9582def8ebc7914b63f028b0a26f5629cae83 /os/hal/src/hal_usb.c
parent3ae66789001a8625881c5e10c96e382626478993 (diff)
downloadChibiOS-ecd03e17cec7c9d2d928314d59e9d4ed427f74c3.tar.gz
ChibiOS-ecd03e17cec7c9d2d928314d59e9d4ed427f74c3.tar.bz2
ChibiOS-ecd03e17cec7c9d2d928314d59e9d4ed427f74c3.zip
Various fixes after mass test-compile.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11268 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src/hal_usb.c')
-rw-r--r--os/hal/src/hal_usb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/src/hal_usb.c b/os/hal/src/hal_usb.c
index 40bb74496..af8042e31 100644
--- a/os/hal/src/hal_usb.c
+++ b/os/hal/src/hal_usb.c
@@ -892,7 +892,7 @@ void _usb_ep0in(USBDriver *usbp, usbep_t ep) {
usbp->ep0state = USB_EP0_IN_WAITING_TX0;
return;
}
- /* Falls into, it is intentional.*/
+ /* Falls through.*/
case USB_EP0_IN_WAITING_TX0:
/* Transmit phase over, receiving the zero sized status packet.*/
usbp->ep0state = USB_EP0_OUT_WAITING_STS;
@@ -916,7 +916,7 @@ void _usb_ep0in(USBDriver *usbp, usbep_t ep) {
case USB_EP0_OUT_RX:
/* All the above are invalid states in the IN phase.*/
osalDbgAssert(false, "EP0 state machine error");
- /* Falling through is intentional.*/
+ /* Falls through.*/
case USB_EP0_ERROR:
/* Error response, the state machine goes into an error state, the low
level layer will have to reset it to USB_EP0_WAITING_SETUP after
@@ -975,7 +975,7 @@ void _usb_ep0out(USBDriver *usbp, usbep_t ep) {
case USB_EP0_IN_SENDING_STS:
/* All the above are invalid states in the IN phase.*/
osalDbgAssert(false, "EP0 state machine error");
- /* Falling through is intentional.*/
+ /* Falls through.*/
case USB_EP0_ERROR:
/* Error response, the state machine goes into an error state, the low
level layer will have to reset it to USB_EP0_WAITING_SETUP after