From ef5fddd8b568e19b17d9c187f1d767df30146089 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Thu, 20 Feb 2020 11:24:00 -0600 Subject: [PATCH] MCU: fix pan_azimuth direction by setting Rotary flag. --- libs/surfaces/mackie/strip.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/surfaces/mackie/strip.cc b/libs/surfaces/mackie/strip.cc index 84ab1bb3fc..27f70f5195 100644 --- a/libs/surfaces/mackie/strip.cc +++ b/libs/surfaces/mackie/strip.cc @@ -585,7 +585,7 @@ Strip::notify_panner_azi_changed (bool force_update) return; } - double normalized_pos = pan_control->internal_to_interface (pan_control->get_value()); + double normalized_pos = pan_control->internal_to_interface (pan_control->get_value(), true); double internal_pos = pan_control->get_value(); if (force_update || (normalized_pos != _last_pan_azi_position_written)) { @@ -1019,14 +1019,14 @@ Strip::handle_pot (Pot& pot, float delta) } else { - double p = ac->get_interface(); + double p = ac->get_interface(true); p += delta; p = max (0.0, p); p = min (1.0, p); - ac->set_value ( ac->interface_to_internal(p), gcd); + ac->set_interface ( p, true); } }