Fixed compile error.

This commit is contained in:
TC1995
2020-01-08 19:05:21 +01:00
parent c524a62c40
commit 04931767e7

View File

@@ -1394,7 +1394,7 @@ MPU401_InputMsg(void *p, uint8_t *msg)
if (msg[1] == 123) {
/* All notes off. */
for (key = 0; key < 128; key++) {
if (!(mpu->chanref[chrefnum].on && (mpu->chanref[chrefnum].M_GETKEY)))
if (!(mpu->chanref[chrefnum].on && (mpu->chanref[chrefnum].M_GETKEY))) {
if (mpu->inputref[chan].on && mpu->inputref[chan].M_GETKEY) {
midi_raw_out_byte(0x80 | chan);
midi_raw_out_byte(key);