diff options
| author | Ha Thach <[email protected]> | 2022-07-14 21:53:34 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-07-14 21:53:34 +0700 |
| commit | 868f2bcda092b0b8d5f7ac55ffaef2c81316d35e (patch) | |
| tree | 3ed2212ab6057783b3d60672f6d1ff688dc62064 /src/host | |
| parent | 1a8c3a863bb1d172364ffe80029620fa75efc7a4 (diff) | |
| parent | 7e4c0f64cd32ee0c73da37703dda2f83ed760132 (diff) | |
Merge pull request #1554 from kilograham/rp2040_warning2
Rework CMake example warnings some more
Diffstat (limited to 'src/host')
| -rw-r--r-- | src/host/usbh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c index 0415a26cb..9d618db92 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -655,7 +655,7 @@ 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; } - __attribute__((fallthrough)); + TU_ATTR_FALLTHROUGH; case CONTROL_STAGE_DATA: if (request->wLength) |
