diff options
| author | hathach <[email protected]> | 2021-07-16 21:11:43 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-07-16 21:11:43 +0700 |
| commit | 4e817ae6d47e3e0636358179ba0d3570fa47c2b0 (patch) | |
| tree | e35562efadb4b8dc49fb942de40537c60a4eccb5 /examples/device/midi_test/src | |
| parent | 84bd863cf580515a7ff10baad7b1f23a25dc7bb0 (diff) | |
revert unrelated midi exmample
Diffstat (limited to 'examples/device/midi_test/src')
| -rw-r--r-- | examples/device/midi_test/src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/midi_test/src/main.c b/examples/device/midi_test/src/main.c index 7bdca222a..193748477 100644 --- a/examples/device/midi_test/src/main.c +++ b/examples/device/midi_test/src/main.c @@ -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; |
