From f5110340e65d6e68dad4d0cece82d4ae7cc8988f Mon Sep 17 00:00:00 2001 From: german Date: Tue, 10 Nov 2020 10:38:15 -0600 Subject: fix minor clang error --- src/input_common/analog_from_button.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/input_common/analog_from_button.cpp b/src/input_common/analog_from_button.cpp index 71a2e4031..d748c1c04 100755 --- a/src/input_common/analog_from_button.cpp +++ b/src/input_common/analog_from_button.cpp @@ -46,7 +46,7 @@ public: angle += TAU; } } else if ((angle >= bottom_limit && angle < to_angle) || - (angle - TAU >= bottom_limit && angle - TAU < to_angle)) { + (angle - TAU >= bottom_limit && angle - TAU < to_angle)) { angle += modifier_angle; if (angle >= TAU) { angle -= TAU; -- cgit v1.2.3