diff options
| author | graham sanderson <[email protected]> | 2022-07-12 13:29:47 -0500 |
|---|---|---|
| committer | graham sanderson <[email protected]> | 2022-07-12 13:29:47 -0500 |
| commit | 4bd47bcb99eef7a71ba2d45842af43e6269c30d4 (patch) | |
| tree | 08748440761a31cdd5ba89d9d4259e3f203cf7d6 /src/host | |
| parent | fc1a27b6c9d5a19529d6ac968164f2734ea89023 (diff) | |
disable bad gcc 6 warning
Diffstat (limited to 'src/host')
| -rw-r--r-- | src/host/usbh.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c index 0415a26cb..26351d16a 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -655,7 +655,9 @@ static bool usbh_control_xfer_cb (uint8_t dev_addr, uint8_t ep_addr, xfer_result TU_ASSERT( hcd_edpt_xfer(rhport, dev_addr, tu_edpt_addr(0, request->bmRequestType_bit.direction), _ctrl_xfer.buffer, request->wLength) ); return true; } +#if __GNUC__ >= 7 __attribute__((fallthrough)); +#endif case CONTROL_STAGE_DATA: if (request->wLength) |
