summaryrefslogtreecommitdiff
path: root/src/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-08-23 15:08:12 +0700
committerhathach <[email protected]>2023-08-23 15:08:12 +0700
commite3f3179924f7c84c4bb3e69234720f9afc178727 (patch)
tree58faff57a7c435ef272899f00a4561fd4778f7b1 /src/host
parent274578ff46c31b231b3553dc9a20895646313130 (diff)
able to get 8 byte descriptor, but read(RCVBC) always return 0
- rename max3421e to max3421 - fix incorrect bitmask for HCTL, fix initial device connect - fix bus reset cause connect IRQ
Diffstat (limited to 'src/host')
-rw-r--r--src/host/hcd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h
index 079877b79..1f01a1a2f 100644
--- a/src/host/hcd.h
+++ b/src/host/hcd.h
@@ -170,7 +170,7 @@ void hcd_device_close(uint8_t rhport, uint8_t dev_addr);
bool hcd_edpt_open(uint8_t rhport, uint8_t dev_addr, tusb_desc_endpoint_t const * ep_desc);
// Submit a transfer, when complete hcd_event_xfer_complete() must be invoked
-bool hcd_edpt_xfer(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr, uint8_t * buffer, uint16_t buflen);
+bool hcd_edpt_xfer(uint8_t rhport, uint8_t daddr, uint8_t ep_addr, uint8_t * buffer, uint16_t buflen);
// Abort a queued transfer. Note: it can only abort transfer that has not been started
// Return true if a queued transfer is aborted, false if there is no transfer to abort