Files
tinyusb/examples/host/midi2_host
hathach fc933e341d midi2_host: silence IAR Pe550 for midi2_idx
The variable is set in mount/umount callbacks but not read elsewhere
in the example (rx_cb already receives idx as a parameter). IAR
treats Pe550 as an error under --warnings_are_errors. Tag it
TU_ATTR_UNUSED so the example still shows the pattern of tracking
the device index without erroring on unused-set.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-30 00:46:16 +07:00
..