Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Host edpt xfer #1403

Merged
merged 22 commits into from
Mar 19, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
try to fix ci
  • Loading branch information
hathach committed Mar 17, 2022
commit c063ab49443924afec43a295871205ed61535622
6 changes: 4 additions & 2 deletions src/host/usbh.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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 );
Expand Down Expand Up @@ -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;
}

Expand Down