summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-02-21 17:31:13 +0700
committerhathach <[email protected]>2025-02-21 17:31:13 +0700
commitb12c8a90125b99b71ab3409c10424d3f8ad0736b (patch)
tree92272d34f87a0af068c270cf9eeebb9c511834d1 /examples
parent6ebd362cfd0d4b91d93336be5d0a087ab124ed06 (diff)
remove CFG_MIDI_HOST_DEVSTRINGS support, we will leave that for application to parse/extract this information if needed
rename tuh_midi_configure() to mounted() for consistency
Diffstat (limited to 'examples')
-rw-r--r--examples/host/midi_rx/src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/host/midi_rx/src/main.c b/examples/host/midi_rx/src/main.c
index fed782947..57e9df29e 100644
--- a/examples/host/midi_rx/src/main.c
+++ b/examples/host/midi_rx/src/main.c
@@ -89,7 +89,7 @@ void led_blinking_task(void) {
//--------------------------------------------------------------------+
void midi_host_rx_task(void) {
// device must be attached and have at least one endpoint ready to receive a message
- if (!midi_dev_addr || !tuh_midi_configured(midi_dev_addr)) {
+ if (!midi_dev_addr || !tuh_midi_mounted(midi_dev_addr)) {
return;
}
if (tuh_midi_get_num_rx_cables(midi_dev_addr) < 1) {