From 091875180223a5a524cc601daee3cccebf1b3610 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sat, 24 Sep 2016 22:48:45 -0400 Subject: [PATCH] Fixed stepping out. --- Components/1770/1770.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Components/1770/1770.cpp b/Components/1770/1770.cpp index 03cdc94ef..d2e7a0869 100644 --- a/Components/1770/1770.cpp +++ b/Components/1770/1770.cpp @@ -138,7 +138,7 @@ void WD1770::process_index_hole() posit_event(Event::IndexHole); // 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; goto verify; } - step(step_direction_); + step(step_direction_ ? 1 : -1); int time_to_wait; switch(command_ & 3) {