diff options
| author | hathach <[email protected]> | 2024-11-22 20:22:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-11-25 17:45:54 +0700 |
| commit | c09eedaf24ad609a1b12bf9c1c7f631b8374f222 (patch) | |
| tree | 4c7d6bf0ea2986670b812481bacdc8126ae8f7b8 /src/class | |
| parent | 07d47ba4876dbb07ba9fd9ee19eca11a7ccd467d (diff) | |
try to fix circleci with kinetis
Diffstat (limited to 'src/class')
| -rw-r--r-- | src/class/midi/midi_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/midi/midi_device.c b/src/class/midi/midi_device.c index 5be4cb993..c545f8287 100644 --- a/src/class/midi/midi_device.c +++ b/src/class/midi/midi_device.c @@ -97,7 +97,7 @@ static void _prep_out_transaction(uint8_t idx) { // TODO Actually we can still carry out the transfer, keeping count of received bytes // and slowly move it to the FIFO when read(). // This pre-check reduces endpoint claiming - TU_VERIFY(available >= sizeof(_midid_epbuf[idx].epout), ); + TU_VERIFY(available >= CFG_TUD_MIDI_EP_BUFSIZE, ); // claim endpoint TU_VERIFY(usbd_edpt_claim(rhport, p_midi->ep_out), ); |
