Skip to content

Commit fc161f4

Browse files
committed
Fix IRQs being incorrectly left disabled on exit from update_amiga_id().
Symptom: Gotek would hang when mounting a read-only image Fixes #701
1 parent d6731dd commit fc161f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/floppy.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ static void update_amiga_id(struct drive *drv, bool_t amiga_hd_id)
166166
} else {
167167
/* Do nothing here. Pin 34 will be updated by IRQ_MOTOR() via
168168
* motor_chgrst_{insert,eject}(). */
169+
IRQ_global_enable();
169170
}
170171
}
171172

0 commit comments

Comments
 (0)