summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-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
}
//--------------------------------------------------------------------+