Эх сурвалжийг харах

revert unrelated midi exmample

hathach 4 жил өмнө
parent
commit
4e817ae6d4

+ 2 - 2
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;