1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-27 01:31:42 +00:00

Removes temporary printf.

This commit is contained in:
Thomas Harte 2021-02-14 21:03:54 -05:00
parent 6e53b4c507
commit a3e98907ca

View File

@ -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); const int bits_set = (lines&1) + ((lines >> 1)&1) + ((lines >> 2)&1) + ((lines >> 3)&1);
direction /= bits_set; direction /= bits_set;
// Compare to the stepper position to decide whether that pulls in the current cog notch, // Compare to the stepper position to decide whether that pulls in the
// or grabs a later one. // current cog notch, or grabs a later one.
step(Storage::Disk::HeadPosition(-direction, 4)); step(Storage::Disk::HeadPosition(-direction, 4));
stepper_position_ = (stepper_position_ - direction + 8) & 7; stepper_position_ = (stepper_position_ - direction + 8) & 7;
printf("Step %0.2f\n", float(-direction) / 4.0f);
} }
stepper_mask_ = lines; stepper_mask_ = lines;
} }