From 68992a62f93d905414e43ab0ed0586a8d1107033 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sat, 20 Feb 2016 00:16:07 -0500 Subject: [PATCH] Switched to a subtler to out-of-band syncs. --- Outputs/CRT/Flywheel.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Outputs/CRT/Flywheel.hpp b/Outputs/CRT/Flywheel.hpp index 710087eec..5e495b614 100644 --- a/Outputs/CRT/Flywheel.hpp +++ b/Outputs/CRT/Flywheel.hpp @@ -73,11 +73,11 @@ struct Flywheel if(_counter < _retrace_time + (_expected_next_sync >> 1)) { - _expected_next_sync = (_expected_next_sync + _standard_period + _sync_error_window) >> 1; + _expected_next_sync++; } else { - _expected_next_sync = (_expected_next_sync + _standard_period - _sync_error_window) >> 1; + _expected_next_sync--; } } }