Fixed a minor bug in the MPU-401 code.

This commit is contained in:
OBattler
2020-01-14 19:11:40 +01:00
committed by GitHub
parent 520e234d5a
commit 1b7da93aa3

View File

@@ -459,7 +459,7 @@ MPU401_WriteCommand(mpu_t *mpu, uint8_t val)
mpu->filter.midi_thru = 0;
for (i = 0; i < 16; i++) {
mpu->inputref[i].on = 0;
for (j = 0; i < 4; j++)
for (j = 0; j < 4; j++)
mpu->inputref[i].key[j] = 0;
}
break;