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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user