mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-20 17:52:35 +00:00
Adjust rotary defines to new universal names
This commit is contained in:
@@ -17,15 +17,15 @@ void RotaryEncoderInterruptImpl1::init()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t pinA = radioConfig.preferences.rotary1_pin_a;
|
uint8_t pinA = radioConfig.preferences.inputbroker_pin_a;
|
||||||
uint8_t pinB = radioConfig.preferences.rotary1_pin_b;
|
uint8_t pinB = radioConfig.preferences.inputbroker_pin_b;
|
||||||
uint8_t pinPress = radioConfig.preferences.rotary1_pin_press;
|
uint8_t pinPress = radioConfig.preferences.inputbroker_pin_press;
|
||||||
char eventCw =
|
char eventCw =
|
||||||
static_cast<char>(radioConfig.preferences.rotary1_event_cw);
|
static_cast<char>(radioConfig.preferences.inputbroker_event_cw);
|
||||||
char eventCcw =
|
char eventCcw =
|
||||||
static_cast<char>(radioConfig.preferences.rotary1_event_ccw);
|
static_cast<char>(radioConfig.preferences.inputbroker_event_ccw);
|
||||||
char eventPressed =
|
char eventPressed =
|
||||||
static_cast<char>(radioConfig.preferences.rotary1_event_press);
|
static_cast<char>(radioConfig.preferences.inputbroker_event_press);
|
||||||
|
|
||||||
//radioConfig.preferences.ext_notification_module_output
|
//radioConfig.preferences.ext_notification_module_output
|
||||||
RotaryEncoderInterruptBase::init(
|
RotaryEncoderInterruptBase::init(
|
||||||
|
|||||||
Reference in New Issue
Block a user