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
This commit is contained in:
hathach
2025-02-21 17:31:13 +07:00
parent 6ebd362cfd
commit b12c8a9012
4 changed files with 117 additions and 286 deletions

View File

@@ -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) {