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/device/device_virtual_com/src/main.c | |
| parent | 29071c10b1e2f2574afb310a7197d599a25cd362 (diff) | |
add tud_set_descriptors
Diffstat (limited to 'examples/device/device_virtual_com/src/main.c')
| -rw-r--r-- | examples/device/device_virtual_com/src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/device/device_virtual_com/src/main.c b/examples/device/device_virtual_com/src/main.c index 531733cdc..8145d0183 100644 --- a/examples/device/device_virtual_com/src/main.c +++ b/examples/device/device_virtual_com/src/main.c @@ -45,6 +45,7 @@ #include "bsp/board.h" #include "tusb.h" +#include "tusb_descriptors.h" //--------------------------------------------------------------------+ // MACRO CONSTANT TYPEDEF @@ -64,6 +65,7 @@ int main(void) print_greeting(); tusb_init(); + tud_set_descriptors(&usb_desc_init); while (1) { |
