summaryrefslogtreecommitdiff
path: root/examples/device/midi_test/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-07-15 21:13:44 +0700
committerhathach <[email protected]>2021-07-15 21:13:44 +0700
commit84bd863cf580515a7ff10baad7b1f23a25dc7bb0 (patch)
tree833f2a449b13c094c56d6ff31802253ade7f0af8 /examples/device/midi_test/src
parent6acaa94b3262ab3204ce23b60d20eabae5e0189c (diff)
revert debug midi changes
Diffstat (limited to 'examples/device/midi_test/src')
-rw-r--r--examples/device/midi_test/src/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/device/midi_test/src/main.c b/examples/device/midi_test/src/main.c
index 66b858323..7bdca222a 100644
--- a/examples/device/midi_test/src/main.c
+++ b/examples/device/midi_test/src/main.c
@@ -138,9 +138,6 @@ void midi_task(void)
if (board_millis() - start_ms < 1000) return; // not enough time
start_ms += 1000;
-#if 1
-
-#else
// Previous positions in the note sequence.
int previous = note_pos - 1;
@@ -161,7 +158,6 @@ void midi_task(void)
// If we are at the end of the sequence, start over.
if (note_pos >= sizeof(note_sequence)) note_pos = 0;
-#endif
}
//--------------------------------------------------------------------+