diff --git a/sndiod/dev.c b/sndiod/dev.c index 6285dd8..ac8110c 100644 --- a/sndiod/dev.c +++ b/sndiod/dev.c @@ -433,8 +433,9 @@ dev_midi_omsg(void *arg, unsigned char *msg, int len) switch (x->type) { case SYSEX_TYPE_RT: if (x->id0 == SYSEX_CONTROL && x->id1 == SYSEX_MASTER) { - if (len == SYSEX_SIZE(master)) + if (len == SYSEX_SIZE(master)) { dev_master(d, x->u.master.coarse); + } return; } if (x->id0 != SYSEX_MMC)