diff options
| author | Mengsk <[email protected]> | 2025-10-22 16:57:11 +0200 |
|---|---|---|
| committer | Mengsk <[email protected]> | 2025-10-22 20:21:57 +0200 |
| commit | 30132e8e6d39447c0633f96594ff4bdac06d6bc8 (patch) | |
| tree | 4561f4cd25b7c64b3e4cae552263cbf22340a53f /src/class/mtp | |
| parent | 27415e6114cb6e23ca085b21161eb79278f6b97b (diff) | |
Fix copilot issues
Signed-off-by: Mengsk <[email protected]>
Diffstat (limited to 'src/class/mtp')
| -rw-r--r-- | src/class/mtp/mtp_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/mtp/mtp_device.c b/src/class/mtp/mtp_device.c index 0499f2dda..764019e42 100644 --- a/src/class/mtp/mtp_device.c +++ b/src/class/mtp/mtp_device.c @@ -251,7 +251,7 @@ bool tud_mtp_event_send(mtp_event_t* event) { TU_VERIFY(p_mtp->ep_event != 0); _mtpd_epbuf.buf_event = *event; TU_VERIFY(usbd_edpt_claim(p_mtp->rhport, p_mtp->ep_event)); // Claim the endpoint - return usbd_edpt_xfer(p_mtp->rhport, p_mtp->ep_event, (uint8_t*, false) &_mtpd_epbuf.buf_event, sizeof(mtp_event_t)); + return usbd_edpt_xfer(p_mtp->rhport, p_mtp->ep_event, (uint8_t*) &_mtpd_epbuf.buf_event, sizeof(mtp_event_t), false); } //--------------------------------------------------------------------+ |
