add braces to reduce diff with mixer bits

This commit is contained in:
Alexandre Ratchov 2016-08-11 08:17:57 +02:00
parent 61005799d9
commit 02ff6b20fb
1 changed files with 2 additions and 1 deletions

View File

@ -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)