From 3cd6465bb1ac6f5fa140d13a85aabf53011bd00a Mon Sep 17 00:00:00 2001 From: gagarinlg Date: Sun, 25 Jun 2023 11:14:07 +0200 Subject: [PATCH] fix: missing/wrong entries in HW definition --- radio/util/hw_defs/switch_config.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/radio/util/hw_defs/switch_config.py b/radio/util/hw_defs/switch_config.py index 3b51e876e..ede6cd156 100644 --- a/radio/util/hw_defs/switch_config.py +++ b/radio/util/hw_defs/switch_config.py @@ -64,7 +64,15 @@ SWITCH_CONFIG = { "SG": { "default": "3POS" }, "SH": { "default": "TOGGLE" } }, - "tlite,tlitef4": { + "tlite": { + # left side + "SA": { "default": "3POS", "display": [ 0, 0 ] }, + "SC": { "default": "3POS", "display": [ 0, 1 ] }, + # right side + "SB": { "default": "2POS", "display": [ 1, 0 ] }, + "SD": { "default": "2POS", "display": [ 1, 1 ] } + }, + "tlitef4": { # left side "SA": { "default": "3POS", "display": [ 0, 0 ] }, "SC": { "default": "3POS", "display": [ 0, 1 ] }, @@ -144,7 +152,7 @@ SWITCH_CONFIG = { "SG": { "default": "3POS", "display": [ 2, 2 ] }, "SH": { "default": "TOGGLE", "display": [ 2, 3 ] } }, - "x9dp": { + "x9d+": { # left side "SA": { "default": "3POS", "display": [ 0, 0 ] }, "SB": { "default": "3POS", "display": [ 0, 1 ] }, @@ -156,7 +164,7 @@ SWITCH_CONFIG = { "SG": { "default": "3POS", "display": [ 2, 2 ] }, "SH": { "default": "TOGGLE", "display": [ 2, 3 ] } }, - "x9dp2019": { + "x9d+2019": { # left side "SA": { "default": "3POS", "display": [ 0, 0 ] }, "SB": { "default": "3POS", "display": [ 0, 1 ] },