From a4c2c14675784f6d75f02118c2a131ac1f3a9b6b Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 30 Nov 2018 22:38:59 +0000 Subject: [PATCH] plus3,fdc765: don't do a motor wait if the motor is running --- Kernel/platform-zx+3/fdc765.s | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Kernel/platform-zx+3/fdc765.s b/Kernel/platform-zx+3/fdc765.s index 866ab036..e6e46fc1 100644 --- a/Kernel/platform-zx+3/fdc765.s +++ b/Kernel/platform-zx+3/fdc765.s @@ -187,6 +187,9 @@ _fd765_motor_off: jp map_kernel _fd765_motor_on: + ld a,(diskmotor) + or a + ret nz ld a,#0x08 ld (diskmotor),a ; Take effect -- 2.34.1