diff options
| author | Ha Thach <[email protected]> | 2024-10-10 17:00:40 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-10-10 17:00:40 +0700 |
| commit | a4fb8354e41b2604f66e7da22afa292b1a44f0a2 (patch) | |
| tree | 1e980f0c18f558e3041dbef3021afa346297a85d /src/device | |
| parent | ffdf81f53a84111a2536defa86e4a637c3c46854 (diff) | |
| parent | 57aac432b52df6d284c98daf591e661d1c55aa05 (diff) | |
Merge pull request #2834 from hathach/add-tusb_int_handler-update-tinyusb_init
add new tusb_int_handler(rhport, in_isr) and update tusb_init(rhport, role)
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 67faf0da7..6fe7e416e 100644 --- a/src/device/usbd.c +++ b/src/device/usbd.c @@ -557,7 +557,7 @@ bool tud_task_event_ready(void) { * int main(void) { application_init(); - tusb_init(); + tusb_init(0, TUSB_ROLE_DEVICE); while(1) { // the mainloop application_code(); |
