summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-01-16 11:12:26 +0700
committerhathach <[email protected]>2020-01-16 11:12:26 +0700
commit05fd02194e40d5ea5bef1cef512ae0ce2bdde48a (patch)
treef1a9c3110084d8ee0c6d5a5a216bf8e7c6756a85
parent7b20b80dc0694cfe49b63222f47a8c3d18906e41 (diff)
correct return value of midid_xfer_cb
-rw-r--r--src/class/midi/midi_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/midi/midi_device.c b/src/class/midi/midi_device.c
index 312405621..ae6e3afe1 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