summaryrefslogtreecommitdiff
path: root/examples/host/midi2_host/src
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2026-06-01 12:42:03 +0700
committerGitHub <[email protected]>2026-06-01 12:42:03 +0700
commitbbdb41995de6510b837ad239933e1823ca175314 (patch)
treeac33e616077fde67751dffe92cf68afa8671dd0d /examples/host/midi2_host/src
parent2c27ec9c89f95057e30da5d08c01f01c941b8a58 (diff)
parent17185428df755d7229407e6ac87c124e522877dc (diff)
Merge pull request #3657 from hathach/usbh-add-control-queue
Add control transfer fifo for host stack
Diffstat (limited to 'examples/host/midi2_host/src')
-rw-r--r--examples/host/midi2_host/src/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/host/midi2_host/src/main.c b/examples/host/midi2_host/src/main.c
index 63b08318c..d81e77a33 100644
--- a/examples/host/midi2_host/src/main.c
+++ b/examples/host/midi2_host/src/main.c
@@ -35,7 +35,7 @@
// State
//--------------------------------------------------------------------+
-static uint8_t midi2_idx = 0xFF;
+TU_ATTR_UNUSED static uint8_t midi2_idx = 0xFF;
//--------------------------------------------------------------------+
// UMP printer - shows MT and word(s) in hex; decodes Channel Voice
@@ -160,6 +160,4 @@ int main(void) {
while (1) {
tuh_task();
}
-
- return 0;
}