Skip to content

Commit 10575c1

Browse files
committed
mising ehci
1 parent c37a957 commit 10575c1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/host/hcd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ bool hcd_edpt_abort_xfer(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr);
179179
bool hcd_setup_send(uint8_t rhport, uint8_t dev_addr, uint8_t const setup_packet[8]);
180180

181181
// clear stall, data toggle is also reset to DATA0
182-
bool hcd_edpt_clear_stall(uint8_t rhport, uint8_t daddr, uint8_t ep_addr);
182+
bool hcd_edpt_clear_stall(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr);
183183

184184
//--------------------------------------------------------------------+
185185
// USBH implemented API

src/portable/ehci/ehci.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,8 +502,8 @@ bool hcd_edpt_abort_xfer(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr) {
502502
return still_active; // true if removed an active transfer
503503
}
504504

505-
bool hcd_edpt_clear_stall(uint8_t daddr, uint8_t ep_addr)
506-
{
505+
bool hcd_edpt_clear_stall(uint8_t rhport, uint8_t daddr, uint8_t ep_addr) {
506+
(void) rhport;
507507
ehci_qhd_t *qhd = qhd_get_from_addr(daddr, ep_addr);
508508
qhd->qtd_overlay.halted = 0;
509509
hcd_dcache_clean_invalidate(qhd, sizeof(ehci_qhd_t));

0 commit comments

Comments
 (0)