mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 23:52:26 +00:00
Fixed stepping out.
This commit is contained in:
parent
9e1d4c8b01
commit
0918751802
@ -138,7 +138,7 @@ void WD1770::process_index_hole()
|
|||||||
posit_event(Event::IndexHole);
|
posit_event(Event::IndexHole);
|
||||||
|
|
||||||
// motor power-down
|
// motor power-down
|
||||||
if(index_hole_count_ == 9 && !(status_&Flag::Busy)) status_ &= ~Flag::MotorOn;
|
// if(index_hole_count_ == 9 && !(status_&Flag::Busy)) status_ &= ~Flag::MotorOn;
|
||||||
}
|
}
|
||||||
|
|
||||||
// +------+----------+-------------------------+
|
// +------+----------+-------------------------+
|
||||||
@ -229,7 +229,7 @@ void WD1770::posit_event(Event new_event_type)
|
|||||||
track_ = 0;
|
track_ = 0;
|
||||||
goto verify;
|
goto verify;
|
||||||
}
|
}
|
||||||
step(step_direction_);
|
step(step_direction_ ? 1 : -1);
|
||||||
int time_to_wait;
|
int time_to_wait;
|
||||||
switch(command_ & 3)
|
switch(command_ & 3)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user