diff options
| author | Ha Thach <[email protected]> | 2021-10-15 01:59:06 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-15 01:59:06 +0700 |
| commit | d94a5aa04452ccee719148d0d163e37a80b960ba (patch) | |
| tree | 450c674425aab6d670c6d0d11fe2214b86425dc3 /src | |
| parent | 5cfe2930012d1dbec85e0923e0eda2d9aec867e6 (diff) | |
| parent | 7667299b483feb4afb783d794ea94a149cc5a5b4 (diff) | |
Merge pull request #1144 from kilograham/release-0.12.0
Fix compiler warning
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/raspberrypi/rp2040/rp2040_usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/raspberrypi/rp2040/rp2040_usb.c b/src/portable/raspberrypi/rp2040/rp2040_usb.c index f9b4d9b17..28c54c52f 100644 --- a/src/portable/raspberrypi/rp2040/rp2040_usb.c +++ b/src/portable/raspberrypi/rp2040/rp2040_usb.c @@ -242,7 +242,7 @@ static void _hw_endpoint_xfer_sync (struct hw_endpoint *ep) // Update hw endpoint struct with info from hardware // after a buff status interrupt - uint32_t buf_ctrl = _hw_endpoint_buffer_control_get_value32(ep); + uint32_t __unused buf_ctrl = _hw_endpoint_buffer_control_get_value32(ep); TU_LOG(3, " Sync BufCtrl: [0] = 0x%04u [1] = 0x%04x\r\n", tu_u32_low16(buf_ctrl), tu_u32_high16(buf_ctrl)); // always sync buffer 0 |
