diff options
| author | hathach <[email protected]> | 2018-04-16 13:46:28 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-04-16 13:46:28 +0700 |
| commit | 6f7c4346c39bd57014e95b577255c3870a5979c6 (patch) | |
| tree | e8a3f3a039637934aa5c9916725c8d1e3c1cba1c /examples/obsolete/device/src/main.c | |
| parent | 29071c10b1e2f2574afb310a7197d599a25cd362 (diff) | |
add tud_set_descriptors
Diffstat (limited to 'examples/obsolete/device/src/main.c')
| -rw-r--r-- | examples/obsolete/device/src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/obsolete/device/src/main.c b/examples/obsolete/device/src/main.c index e11bbc7cd..6b3bdeee5 100644 --- a/examples/obsolete/device/src/main.c +++ b/examples/obsolete/device/src/main.c @@ -46,6 +46,7 @@ #include "bsp/board.h" #include "app_os_prio.h" #include "tusb.h" +#include "tusb_descriptors.h" #include "msc_device_app.h" #include "keyboard_device_app.h" @@ -87,6 +88,7 @@ int main(void) print_greeting(); tusb_init(); + tud_set_descriptors(&usb_desc_init); //------------- application task init -------------// led_blinking_init(); |
