From c994fa39f647694b1442ecbeb2dea202311f7785 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sat, 31 Dec 2016 16:18:30 -0500 Subject: [PATCH] Ensured spin-up doesn't occur if there's no motor line. --- Components/1770/1770.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Components/1770/1770.cpp b/Components/1770/1770.cpp index e5e2a39a9..4c9294156 100644 --- a/Components/1770/1770.cpp +++ b/Components/1770/1770.cpp @@ -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: