diff options
| author | Ha Thach <[email protected]> | 2025-11-20 14:17:13 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-11-20 14:17:13 +0700 |
| commit | 409c19364b3be723b26b013efa5ab3ec1d17435a (patch) | |
| tree | ec06dc2164823297b2be8eeb7276d054ed4cda62 /test/fuzz | |
| parent | 3af1bec1a9161ee8dec29487831f7ac7ade9e189 (diff) | |
| parent | cea86617f75804ad9347c0b9686c102db555d4b7 (diff) | |
Merge pull request #3313 from hathach/copilot/fix-dcd-edpt-xfer-issue
Add is_isr parameter to dcd_edpt_xfer, dcd_edpt_xfer_fifo, usbd_edpt_xfer, and usbd_edpt_xfer_fifo functions
Diffstat (limited to 'test/fuzz')
| -rw-r--r-- | test/fuzz/dcd_fuzz.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/fuzz/dcd_fuzz.cc b/test/fuzz/dcd_fuzz.cc index 046a90555..7a5d51623 100644 --- a/test/fuzz/dcd_fuzz.cc +++ b/test/fuzz/dcd_fuzz.cc @@ -104,7 +104,7 @@ void dcd_set_address(uint8_t rhport, uint8_t dev_addr) { UNUSED(rhport); state.address = dev_addr; // Respond with status. - dcd_edpt_xfer(rhport, tu_edpt_addr(0, TUSB_DIR_IN), NULL, 0); + dcd_edpt_xfer(rhport, tu_edpt_addr(0, TUSB_DIR_IN), NULL, 0, false); return; } @@ -160,10 +160,11 @@ void dcd_edpt_close(uint8_t rhport, uint8_t ep_addr) { // Submit a transfer, When complete dcd_event_xfer_complete() is invoked to // notify the stack bool dcd_edpt_xfer(uint8_t rhport, uint8_t ep_addr, uint8_t *buffer, - uint16_t total_bytes) { + uint16_t total_bytes, bool is_isr) { UNUSED(rhport); UNUSED(buffer); UNUSED(total_bytes); + UNUSED(is_isr); uint8_t const dir = tu_edpt_dir(ep_addr); |
