diff options
| author | hathach <[email protected]> | 2024-05-24 11:38:44 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-05-24 11:38:44 +0700 |
| commit | 927015baae9b2d265d1daaa0fc2ffca1aa4f9e91 (patch) | |
| tree | f3689a6399ca7a3cfaedd22b182d421ac4dbf253 /src/device | |
| parent | 1f259b3ab0f1b9587dee9c0bfb5574d70d021640 (diff) | |
wch usbfs/usbhs need to specify which driver to use. for v307 default to highspeed
Diffstat (limited to 'src/device')
| -rw-r--r-- | src/device/usbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c index 25d890dc7..9a6afd0d1 100644 --- a/src/device/usbd.c +++ b/src/device/usbd.c @@ -407,7 +407,7 @@ bool tud_init(uint8_t rhport) { // skip if already initialized if (tud_inited()) return true; - TU_LOG_USBD("USBD init on controller %u\r\n", rhport); + TU_LOG_USBD("USBD init on controller %u, Highspeed = %u\r\n", rhport, TUD_OPT_HIGH_SPEED); TU_LOG_INT(CFG_TUD_LOG_LEVEL, sizeof(usbd_device_t)); TU_LOG_INT(CFG_TUD_LOG_LEVEL, sizeof(dcd_event_t)); TU_LOG_INT(CFG_TUD_LOG_LEVEL, sizeof(tu_fifo_t)); |
