add rp2040 to host example build

This commit is contained in:
hathach
2021-02-26 14:05:08 +07:00
parent 0c05a02e67
commit f6b48c07fc
9 changed files with 66 additions and 21 deletions

View File

@@ -79,7 +79,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