From fe5b5ebf15753f2b44774ce80d7f601e86061953 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Thu, 24 Mar 2022 22:17:06 +0100 Subject: [PATCH] Adjust rotary defines to new universal names --- src/input/RotaryEncoderInterruptImpl1.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/input/RotaryEncoderInterruptImpl1.cpp b/src/input/RotaryEncoderInterruptImpl1.cpp index 74d318084..dcc26b052 100644 --- a/src/input/RotaryEncoderInterruptImpl1.cpp +++ b/src/input/RotaryEncoderInterruptImpl1.cpp @@ -17,15 +17,15 @@ void RotaryEncoderInterruptImpl1::init() return; } - uint8_t pinA = radioConfig.preferences.rotary1_pin_a; - uint8_t pinB = radioConfig.preferences.rotary1_pin_b; - uint8_t pinPress = radioConfig.preferences.rotary1_pin_press; + uint8_t pinA = radioConfig.preferences.inputbroker_pin_a; + uint8_t pinB = radioConfig.preferences.inputbroker_pin_b; + uint8_t pinPress = radioConfig.preferences.inputbroker_pin_press; char eventCw = - static_cast(radioConfig.preferences.rotary1_event_cw); + static_cast(radioConfig.preferences.inputbroker_event_cw); char eventCcw = - static_cast(radioConfig.preferences.rotary1_event_ccw); + static_cast(radioConfig.preferences.inputbroker_event_ccw); char eventPressed = - static_cast(radioConfig.preferences.rotary1_event_press); + static_cast(radioConfig.preferences.inputbroker_event_press); //radioConfig.preferences.ext_notification_module_output RotaryEncoderInterruptBase::init(