diff options
Diffstat (limited to 'lib/python/qmk')
-rw-r--r-- | lib/python/qmk/info.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py index 47c8bff7a8..b43cf4e417 100644 --- a/lib/python/qmk/info.py +++ b/lib/python/qmk/info.py @@ -146,6 +146,9 @@ def _pin_name(pin): elif pin[0] in 'ABCDEFGHIJK' and pin[1].isdigit(): return pin + elif pin.startswith('LINE_PIN'): + return pin + raise ValueError(f'Invalid pin: {pin}') |