diff options
-rw-r--r-- | lib/python/qmk/info.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py index b43cf4e417..a70bd4c31c 100644 --- a/lib/python/qmk/info.py +++ b/lib/python/qmk/info.py @@ -143,13 +143,7 @@ def _pin_name(pin): elif pin == 'NO_PIN': return None - elif pin[0] in 'ABCDEFGHIJK' and pin[1].isdigit(): - return pin - - elif pin.startswith('LINE_PIN'): - return pin - - raise ValueError(f'Invalid pin: {pin}') + return pin def _extract_pins(pins): |