add tuh_configure() for port/dynamic host behavior config

This commit is contained in:
hathach
2022-06-08 01:17:01 +07:00
parent 896c707cd4
commit 8cbc34de11
6 changed files with 67 additions and 23 deletions

View File

@@ -392,7 +392,7 @@ bool tud_init (uint8_t rhport)
// skip if already initialized
if ( tud_inited() ) return true;
TU_LOG2("USBD init\r\n");
TU_LOG2("USBD init rhport %u\r\n", rhport);
TU_LOG2_INT(sizeof(usbd_device_t));
tu_varclr(&_usbd_dev);