mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-26 08:37:16 +00:00
revert debug midi changes
This commit is contained in:
parent
6acaa94b32
commit
84bd863cf5
@ -138,9 +138,6 @@ void midi_task(void)
|
|||||||
if (board_millis() - start_ms < 1000) return; // not enough time
|
if (board_millis() - start_ms < 1000) return; // not enough time
|
||||||
start_ms += 1000;
|
start_ms += 1000;
|
||||||
|
|
||||||
#if 1
|
|
||||||
|
|
||||||
#else
|
|
||||||
// Previous positions in the note sequence.
|
// Previous positions in the note sequence.
|
||||||
int previous = note_pos - 1;
|
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 we are at the end of the sequence, start over.
|
||||||
if (note_pos >= sizeof(note_sequence)) note_pos = 0;
|
if (note_pos >= sizeof(note_sequence)) note_pos = 0;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
|
Loading…
x
Reference in New Issue
Block a user