summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-03-18 00:56:51 +0700
committerhathach <[email protected]>2022-03-18 00:56:51 +0700
commitc063ab49443924afec43a295871205ed61535622 (patch)
tree9f8cbf77cd825f0897c72e3bf423d1eb1a629ef7 /src
parentf89ff939d8088135cedaa4e4f3885f88d1670529 (diff)
try to fix ci
Diffstat (limited to 'src')
-rw-r--r--src/host/usbh.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c
index 69543854d..6808a24a1 100644
--- a/src/host/usbh.c
+++ b/src/host/usbh.c
@@ -268,7 +268,7 @@ struct
uintptr_t user_data;
volatile uint16_t actual_len;
- uint8_t daddr; // device address that is transferring
+ uint8_t daddr; // transferring device
volatile uint8_t stage;
}_ctrl_xfer;
@@ -548,7 +548,7 @@ bool tuh_init(uint8_t rhport)
TU_LOG2("USBH init\r\n");
TU_LOG2_INT(sizeof(usbh_device_t));
TU_LOG2_INT(sizeof(hcd_event_t));
- TU_LOG2_INT(sizeof(tuh_xfer_t));
+ TU_LOG2_INT(sizeof(_ctrl_xfer));
// Event queue
_usbh_q = osal_queue_create( &_usbh_qdef );
@@ -1077,6 +1077,8 @@ static bool usbh_control_xfer_cb (uint8_t dev_addr, uint8_t ep_addr, xfer_result
bool tuh_edpt_xfer(uint8_t daddr, tuh_xfer_t* xfer)
{
+ (void) daddr;
+ (void) xfer;
return true;
}