update tinyusb to fix midi buffer overflow issue
This commit is contained in:
parent
da16e4dce1
commit
7c3975ecf2
|
@ -1 +1 @@
|
|||
Subproject commit 2adb7e719316b12c53a907153cfa0056db1abd70
|
||||
Subproject commit ab4d30fd6bca02c73eb9b4ff82db0b2b0f403344
|
|
@ -29,7 +29,7 @@
|
|||
#include "tusb.h"
|
||||
|
||||
size_t common_hal_usb_midi_portin_read(usb_midi_portin_obj_t *self, uint8_t *data, size_t len, int *errcode) {
|
||||
return tud_midi_read(data, len);
|
||||
return tud_midi_stream_read(data, len);
|
||||
}
|
||||
|
||||
uint32_t common_hal_usb_midi_portin_bytes_available(usb_midi_portin_obj_t *self) {
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include "tusb.h"
|
||||
|
||||
size_t common_hal_usb_midi_portout_write(usb_midi_portout_obj_t *self, const uint8_t *data, size_t len, int *errcode) {
|
||||
return tud_midi_write(0, data, len);
|
||||
return tud_midi_stream_write(0, data, len);
|
||||
}
|
||||
|
||||
bool common_hal_usb_midi_portout_ready_to_tx(usb_midi_portout_obj_t *self) {
|
||||
|
|
Loading…
Reference in New Issue