Skip to content

Commit

Permalink
Merge pull request #1144 from kilograham/release-0.12.0
Browse files Browse the repository at this point in the history
Fix compiler warning
  • Loading branch information
hathach authored Oct 14, 2021
2 parents 5cfe293 + 7667299 commit d94a5aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/portable/raspberrypi/rp2040/rp2040_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d94a5aa

Please sign in to comment.