]> xenbits.xensource.com Git - seabios.git/commit
floppy: Wait for the floppy motor to reach a stable speed, after starting
authorNikolay Nikolov <nickysn@users.sourceforge.net>
Sat, 10 Feb 2018 11:52:16 +0000 (13:52 +0200)
committerKevin O'Connor <kevin@koconnor.net>
Thu, 15 Feb 2018 05:18:14 +0000 (00:18 -0500)
commit2611db472c0f0bad4987c20990a45c175342fc22
tree561095d4b1ff8d8cdaaf75417ae669344aa05eb9
parent81f45a62e8692bd84276d570833fec2a77c25c8e
floppy: Wait for the floppy motor to reach a stable speed, after starting

When starting up the floppy motor, wait for a certain amount of time, so
that it can spin up and reach a stable speed. This delay is skipped, if the
motor was already running (which can happen, since the floppy motor is
intentionally kept spinning for 2 seconds after the previous floppy
operation completes).

Signed-off-by: Nikolay Nikolov <nickysn@users.sourceforge.net>
src/hw/floppy.c