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

Simplifies the rotational multiplier upon construction, to mitigate against scale issues later.

This commit is contained in:
Thomas Harte 2018-04-24 20:16:14 -07:00
parent 7061537ff5
commit 376b26c1e4

View File

@ -19,6 +19,7 @@ Drive::Drive(unsigned int input_clock_rate, int revolutions_per_minute, int numb
Storage::TimedEventLoop(input_clock_rate),
rotational_multiplier_(60, revolutions_per_minute),
available_heads_(number_of_heads) {
rotational_multiplier_.simplify();
}
Drive::~Drive() {