mirror of
https://github.com/TomHarte/CLK.git
synced 2024-07-27 02:29:12 +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;
|
status.lost_data = false;
|
||||||
});
|
});
|
||||||
set_motor_on(true);
|
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;
|
index_hole_count_ = 0;
|
||||||
write_track_test_index_hole_count:
|
write_track_test_index_hole_count:
|
||||||
|
Loading…
Reference in New Issue
Block a user