Updated naming of switches and pots according to what is printed in the radio
This commit is contained in:
committed by
Malte Langermann
parent
04c457e49b
commit
5e0b3c129c
@@ -34,25 +34,25 @@
|
||||
|
||||
static const stm32_switch_t _switch_defs[] = {
|
||||
/* {
|
||||
"S1A",
|
||||
"SW1L",
|
||||
nullptr, 0,
|
||||
nullptr, 0,
|
||||
SWITCH_HW_2POS, 0
|
||||
},
|
||||
{
|
||||
"S1B",
|
||||
"SW1R",
|
||||
nullptr, 0,
|
||||
nullptr, 0,
|
||||
SWITCH_HW_2POS, 0
|
||||
},*/
|
||||
{
|
||||
"S2",
|
||||
"SW2",
|
||||
nullptr, 0,
|
||||
nullptr, 0,
|
||||
SWITCH_HW_2POS, 0
|
||||
},
|
||||
{
|
||||
"S3",
|
||||
"SW3",
|
||||
nullptr, 0,
|
||||
nullptr, 0,
|
||||
SWITCH_HW_2POS, 0
|
||||
|
||||
@@ -697,14 +697,14 @@ LEGACY_NAMES = [
|
||||
"P1": {
|
||||
"yaml": "POT1",
|
||||
"lua": "s1",
|
||||
"label": "S1",
|
||||
"label": "VR1L",
|
||||
"short_label": "1",
|
||||
"description": "Potentiometer 1"
|
||||
},
|
||||
"P2": {
|
||||
"yaml": "POT2",
|
||||
"lua": "s2",
|
||||
"label": "S2",
|
||||
"label": "VR1R",
|
||||
"short_label": "2",
|
||||
"description": "Potentiometer 2"
|
||||
},
|
||||
|
||||
@@ -66,8 +66,8 @@ SWITCH_CONFIG = {
|
||||
"SJ": { "default": "3POS" }
|
||||
},
|
||||
"nb4p": {
|
||||
"S2" : { "default": "TOGGLE" },
|
||||
"S3" : { "default": "TOGGLE" }
|
||||
"SW2" : { "default": "TOGGLE" },
|
||||
"SW3" : { "default": "TOGGLE" }
|
||||
},
|
||||
"lr3pro": {
|
||||
# left side
|
||||
|
||||
Reference in New Issue
Block a user