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/ohci | |
| parent | 9554283b03cb4af00119ccd5a38e539749b32d53 (diff) | |
correct hcd_edpt_clear_stall() API signature
Diffstat (limited to 'src/portable/ohci')
| -rw-r--r-- | src/portable/ohci/ohci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/portable/ohci/ohci.c b/src/portable/ohci/ohci.c index 9f3af4781..413e72037 100644 --- a/src/portable/ohci/ohci.c +++ b/src/portable/ohci/ohci.c @@ -556,8 +556,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; ohci_ed_t * const p_ed = ed_from_addr(dev_addr, ep_addr); p_ed->is_stalled = 0; |
