mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-20 10:17:05 +00:00
Switches drives to using floats for time counting.
Hopefully to eliminate a lot of unnecessary `Time` work; inaccuracies should still be within tolerable range.
This commit is contained in:
@@ -40,7 +40,7 @@ Drive &Controller::get_drive() {
|
||||
|
||||
// MARK: - Drive::EventDelegate
|
||||
|
||||
void Controller::process_event(const Track::Event &event) {
|
||||
void Controller::process_event(const Drive::Event &event) {
|
||||
switch(event.type) {
|
||||
case Track::Event::FluxTransition: pll_->add_pulse(); break;
|
||||
case Track::Event::IndexHole: process_index_hole(); break;
|
||||
|
||||
Reference in New Issue
Block a user