Add support for tinyusb 0.17 in ESP32.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
a61f7683b6
commit
fcae98eecc
2 changed files with 1 additions and 5 deletions
|
|
@ -1,5 +1,5 @@
|
|||
## IDF Component Manager Manifest File
|
||||
dependencies:
|
||||
espressif/esp_tinyusb: "^1.4.4"
|
||||
espressif/esp_tinyusb: "^1.4.5"
|
||||
#espressif/tinyusb: "^0.15.0"
|
||||
zorxx/neopixel: "^1.0.4"
|
||||
|
|
|
|||
|
|
@ -135,11 +135,7 @@ int driver_init_ccid(uint8_t itf) {
|
|||
return PICOKEY_OK;
|
||||
}
|
||||
|
||||
#ifdef ESP_PLATFORM
|
||||
void tud_vendor_rx_cb(uint8_t itf) {
|
||||
#else
|
||||
void tud_vendor_rx_cb(uint8_t itf, const uint8_t *buffer, uint16_t bufsize) {
|
||||
#endif
|
||||
uint32_t len = tud_vendor_n_available(itf);
|
||||
do {
|
||||
uint16_t tlen = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue