From 6f7c4346c39bd57014e95b577255c3870a5979c6 Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 16 Apr 2018 13:46:28 +0700 Subject: add tud_set_descriptors --- examples/device/device_virtual_com/src/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/device/device_virtual_com/src/main.c') 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) { -- cgit v1.3.1