diff options
| author | hathach <[email protected]> | 2023-07-26 19:56:48 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-07-26 19:56:48 +0700 |
| commit | c37a9571741cef0dcf0cd5a77e202ae741a2dd42 (patch) | |
| tree | 64158d58c1bab816b1687f61f54e25f90603d533 /src/portable/nxp/khci | |
| parent | 9554283b03cb4af00119ccd5a38e539749b32d53 (diff) | |
correct hcd_edpt_clear_stall() API signature
Diffstat (limited to 'src/portable/nxp/khci')
| -rw-r--r-- | src/portable/nxp/khci/hcd_khci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/portable/nxp/khci/hcd_khci.c b/src/portable/nxp/khci/hcd_khci.c index 6784049c5..928564e26 100644 --- a/src/portable/nxp/khci/hcd_khci.c +++ b/src/portable/nxp/khci/hcd_khci.c @@ -570,8 +570,8 @@ bool hcd_edpt_abort_xfer(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr) { return false; } -bool hcd_edpt_clear_stall(uint8_t dev_addr, uint8_t ep_addr) -{ +bool hcd_edpt_clear_stall(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr) { + (void) rhport; if (!tu_edpt_number(ep_addr)) return true; int num = find_pipe(dev_addr, ep_addr); if (num < 0) return false; |
