summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMengsk <[email protected]>2025-10-22 16:57:11 +0200
committerMengsk <[email protected]>2025-10-22 20:21:57 +0200
commit30132e8e6d39447c0633f96594ff4bdac06d6bc8 (patch)
tree4561f4cd25b7c64b3e4cae552263cbf22340a53f /test
parent27415e6114cb6e23ca085b21161eb79278f6b97b (diff)
Fix copilot issues
Signed-off-by: Mengsk <[email protected]>
Diffstat (limited to 'test')
-rw-r--r--test/fuzz/dcd_fuzz.cc5
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);