summaryrefslogtreecommitdiff
path: root/src/portable/mentor
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-07-26 19:56:48 +0700
committerhathach <[email protected]>2023-07-26 19:56:48 +0700
commitc37a9571741cef0dcf0cd5a77e202ae741a2dd42 (patch)
tree64158d58c1bab816b1687f61f54e25f90603d533 /src/portable/mentor
parent9554283b03cb4af00119ccd5a38e539749b32d53 (diff)
correct hcd_edpt_clear_stall() API signature
Diffstat (limited to 'src/portable/mentor')
-rw-r--r--src/portable/mentor/musb/hcd_musb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/portable/mentor/musb/hcd_musb.c b/src/portable/mentor/musb/hcd_musb.c
index 5be67a186..5d1fba6d9 100644
--- a/src/portable/mentor/musb/hcd_musb.c
+++ b/src/portable/mentor/musb/hcd_musb.c
@@ -831,8 +831,8 @@ bool hcd_edpt_abort_xfer(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr) {
}
// clear stall, data toggle is also reset to DATA0
-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;
unsigned const pipenum = find_pipe(dev_addr, ep_addr);
if (!pipenum) return false;
hw_endpoint_t volatile *regs = edpt_regs(pipenum - 1);