From 05fd02194e40d5ea5bef1cef512ae0ce2bdde48a Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 16 Jan 2020 11:12:26 +0700 Subject: [PATCH] correct return value of midid_xfer_cb --- src/class/midi/midi_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/class/midi/midi_device.c b/src/class/midi/midi_device.c index 31240562..ae6e3afe 100644 --- a/src/class/midi/midi_device.c +++ b/src/class/midi/midi_device.c @@ -355,7 +355,7 @@ bool midid_xfer_cb(uint8_t rhport, uint8_t ep_addr, xfer_result_t result, uint32 // nothing to do with in and notif endpoint - return TUSB_ERROR_NONE; + return true; } #endif