From a3e98907ca5976162ec6c8fa317f84d472099806 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 14 Feb 2021 21:03:54 -0500 Subject: [PATCH] Removes temporary printf. --- Components/DiskII/DiskIIDrive.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Components/DiskII/DiskIIDrive.cpp b/Components/DiskII/DiskIIDrive.cpp index 010e685c6..a27bbf43f 100644 --- a/Components/DiskII/DiskIIDrive.cpp +++ b/Components/DiskII/DiskIIDrive.cpp @@ -32,11 +32,10 @@ void DiskIIDrive::set_control_lines(int lines) { const int bits_set = (lines&1) + ((lines >> 1)&1) + ((lines >> 2)&1) + ((lines >> 3)&1); direction /= bits_set; - // Compare to the stepper position to decide whether that pulls in the current cog notch, - // or grabs a later one. + // Compare to the stepper position to decide whether that pulls in the + // current cog notch, or grabs a later one. step(Storage::Disk::HeadPosition(-direction, 4)); stepper_position_ = (stepper_position_ - direction + 8) & 7; - printf("Step %0.2f\n", float(-direction) / 4.0f); } stepper_mask_ = lines; }