diff options
Diffstat (limited to 'src/controllers/softtakeover.h')
-rw-r--r-- | src/controllers/softtakeover.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/controllers/softtakeover.h b/src/controllers/softtakeover.h index db5bdbb34a..49dace8c46 100644 --- a/src/controllers/softtakeover.h +++ b/src/controllers/softtakeover.h @@ -15,9 +15,8 @@ class ControlObject; class SoftTakeover { public: - // 3/128 units away from the current is enough to catch fast non-sequential moves - // but not cause an audibly noticeable jump. - static const double kDefaultTakeoverThreshold = 3.0 / 128; + // I would initialize it here but that's C++11 coolness. (Because it's a double.) + static const double kDefaultTakeoverThreshold; SoftTakeover(); bool ignore(ControlObject* control, double newParameter); |