Free USB pids!

This commit is contained in:
DrZlo13 2021-10-30 16:01:10 +10:00
parent 98e6c79d60
commit 779aa6d81f
1 changed files with 9 additions and 1 deletions

View File

@ -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 <stdint.h>
#include <esp_log.h>
#include <freertos/FreeRTOS.h>
@ -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");
}