From 779aa6d81f4910881e921d0326d70a2769ce0d17 Mon Sep 17 00:00:00 2001 From: DrZlo13 Date: Sat, 30 Oct 2021 16:01:10 +1000 Subject: [PATCH] Free USB pids! --- main/usb-cdc.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/main/usb-cdc.c b/main/usb-cdc.c index 4763670..23135a1 100644 --- a/main/usb-cdc.c +++ b/main/usb-cdc.c @@ -1,3 +1,11 @@ +/** + * @file usb-cdc.c + * Do not forget to take pid's when implement own USB device class + * + * https://github.com/espressif/usb-pids + * + */ + #include #include #include @@ -68,7 +76,7 @@ void usb_cdc_rx_callback(int itf, cdcacm_event_t* event) { ESP_ERROR_CHECK(ret != rx_size); // buffer_rx[rx_size] = '\0'; // printf("%s", buffer_rx); - } + } } else { ESP_LOGE(TAG, "Read error"); }