diff options
Diffstat (limited to 'logic')
-rw-r--r-- | logic/tracker.cpp | 5 | ||||
-rw-r--r-- | logic/tracker.h | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/logic/tracker.cpp b/logic/tracker.cpp index 1002932f..e09000e2 100644 --- a/logic/tracker.cpp +++ b/logic/tracker.cpp @@ -304,9 +304,7 @@ void Tracker::logic() for (int i = 3; i < 6; i++) value(i) = map(value(i), m(i)); - const bool reltrans = !get(f_tcomp_disabled); - - if (s.tcomp_p && reltrans) + if (s.tcomp_p) { const double tcomp_c[] = { @@ -490,6 +488,5 @@ bits::bits() : b(0u) set(f_center, true); set(f_enabled, true); set(f_zero, false); - set(f_tcomp_disabled, false); set(f_should_quit, false); } diff --git a/logic/tracker.h b/logic/tracker.h index 2f29aca7..2e6350d7 100644 --- a/logic/tracker.h +++ b/logic/tracker.h @@ -39,8 +39,7 @@ struct bits f_center = 1 << 0, f_enabled = 1 << 1, f_zero = 1 << 2, - f_tcomp_disabled = 1 << 3, - f_should_quit = 1 << 4, + f_should_quit = 1 << 3, }; std::atomic<unsigned> b; @@ -113,7 +112,6 @@ public: void set_toggle(bool value) { set(f_enabled, value); } void set_zero(bool value) { set(f_zero, value); } - void set_tcomp_disabled(bool x) { set(f_tcomp_disabled, x); } void zero() { negate(f_zero); } void toggle_enabled() { negate(f_enabled); } |