Merge pull request #684 from hathach/rp2040-host-example

add rp2040 to host example build
This commit is contained in:
Ha Thach
2021-03-02 13:03:52 +07:00
committed by GitHub
9 changed files with 66 additions and 21 deletions

View File

@@ -75,7 +75,7 @@ struct hw_endpoint
// Interrupt, bulk, etc
uint8_t transfer_type;
#ifdef RP2040_USB_HOST_MODE
#if TUSB_OPT_HOST_ENABLED
// Only needed for host mode
bool last_buf;
// HOST BUG. Host will incorrect write status to top half of buffer