diff options
| author | hathach <[email protected]> | 2022-06-27 13:48:47 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-06-27 13:48:47 +0700 |
| commit | 6522a8150e22d47bacabd2f1f027452db2254984 (patch) | |
| tree | 5a8435dba60bf4d996df9c163ac7f42481557e33 /examples/device/midi_test/src | |
| parent | 1a1f633922d631044c9c23a5eff95ecceab5dffe (diff) | |
fix all device examples warnings
Diffstat (limited to 'examples/device/midi_test/src')
| -rw-r--r-- | examples/device/midi_test/src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/midi_test/src/main.c b/examples/device/midi_test/src/main.c index b47d1af76..3310348bd 100644 --- a/examples/device/midi_test/src/main.c +++ b/examples/device/midi_test/src/main.c @@ -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. |
