Commit 6cff114b authored by Jacob Vosmaer's avatar Jacob Vosmaer

Use != ok to check

parent 44c7c8a1
......@@ -106,7 +106,7 @@ main(void)
prev_clock = clock;
uint8_t status, data1, data2;
if (midi_read(&status, &data1, &data2) == MIDI_READ_NO_DATA) {
if (midi_read(&status, &data1, &data2) != MIDI_READ_OK) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment