Skip to content

Commit

Permalink
Fix CI.
Browse files Browse the repository at this point in the history
Signed-off-by: HiFiPhile <admin@hifiphile.com>
  • Loading branch information
HiFiPhile committed Jan 31, 2025
1 parent 2707347 commit 1d2ddf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/class/msc/msc_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ void tud_msc_async_io_done(int32_t bytes_processed) {
// Precheck to avoid queueing multiple RW done callback
TU_VERIFY(_mscd_itf.next_op != MSC_NEXT_OP_NONE,);
// Call usbd_edpt_xfer() in tud_task() to avoid racing condition
usbd_defer_func(tud_msc_async_io_done_cb, (void*) bytes_processed, false);
usbd_defer_func(tud_msc_async_io_done_cb, (void*) (intptr_t)bytes_processed, false);
}

static void tud_msc_async_io_done_cb(void* bytes_processed) {
Expand Down

0 comments on commit 1d2ddf1

Please sign in to comment.