mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
revert unrelated midi exmample
This commit is contained in:
parent
84bd863cf5
commit
4e817ae6d4
@ -135,8 +135,8 @@ void midi_task(void)
|
||||
while ( tud_midi_available() ) tud_midi_packet_read(packet);
|
||||
|
||||
// send note periodically
|
||||
if (board_millis() - start_ms < 1000) return; // not enough time
|
||||
start_ms += 1000;
|
||||
if (board_millis() - start_ms < 286) return; // not enough time
|
||||
start_ms += 286;
|
||||
|
||||
// Previous positions in the note sequence.
|
||||
int previous = note_pos - 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user