summaryrefslogtreecommitdiff
path: root/lib/python/qmk
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@users.noreply.github.com>2021-06-20 00:21:56 +0200
committerGitHub <noreply@github.com>2021-06-19 15:21:56 -0700
commit7c5ef4060e32396ddcbf0fd2ea9a22f569a4e984 (patch)
tree7cb12ed90c3e96d2e52c0d506d6cc8f04f85c874 /lib/python/qmk
parent8dc036c2e49f51a8dc1721ac8e84d7ec1c873f1e (diff)
downloadqmk_firmware-7c5ef4060e32396ddcbf0fd2ea9a22f569a4e984.tar.gz
qmk_firmware-7c5ef4060e32396ddcbf0fd2ea9a22f569a4e984.zip
allow LINE_PINxx for Teensy 4.x pins (#13247)
fixes https://github.com/qmk/qmk_firmware/issues/13052
Diffstat (limited to 'lib/python/qmk')
-rw-r--r--lib/python/qmk/info.py3
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}')