MPU-401: The IRQ must still be cleared on reset.

This commit is contained in:
Miran Grča
2026-02-21 04:24:20 +01:00
committed by GitHub
parent 3509df8892
commit 3fd344d957

View File

@@ -316,6 +316,9 @@ MPU401_Reset(mpu_t *mpu)
mpu->ch_toref[i] = 4; /* Dummy reftable. */
}
mpu->state.irq_pending = 0;
MPU401_UpdateIRQ(mpu, 0);
mpu->state.data_onoff = -1;
mpu->state.req_mask = 0;