mirror of
https://github.com/TomHarte/CLK.git
synced 2025-04-05 04:37:41 +00:00
Ensured spin-up doesn't occur if there's no motor line.
This commit is contained in:
parent
1ea4f0d79d
commit
c994fa39f6
@ -782,7 +782,7 @@ void WD1770::posit_event(Event new_event_type)
|
||||
status.lost_data = false;
|
||||
});
|
||||
set_motor_on(true);
|
||||
if(!(command_ & 0x08)) goto write_track_test_delay;
|
||||
if(!(command_ & 0x08) || !has_motor_on_line()) goto write_track_test_delay;
|
||||
|
||||
index_hole_count_ = 0;
|
||||
write_track_test_index_hole_count:
|
||||
|
Loading…
x
Reference in New Issue
Block a user