fix all device examples warnings

This commit is contained in:
hathach
2022-06-27 13:48:47 +07:00
parent 1a1f633922
commit 6522a8150e
7 changed files with 47 additions and 39 deletions

View File

@@ -140,7 +140,7 @@ void midi_task(void)
start_ms += 286;
// Previous positions in the note sequence.
int previous = note_pos - 1;
int previous = (int) (note_pos - 1);
// If we currently are at position 0, set the
// previous position to the last note in the sequence.