Revert "change invalid pin from error to warning"

This reverts commit 68da9cd196.
This commit is contained in:
Zach White 2021-01-06 10:37:31 -08:00 committed by Zach White
parent ed19198c78
commit e2e793c1c3

View File

@ -344,7 +344,7 @@ def _extract_pins(pins):
for pin in pins:
if pin[0] not in 'ABCDEFGHIJK' or not pin[1].isdigit():
cli.log.warning(f'Nonstandard pin format: {pin}')
raise ValueError(f'Invalid pin: {pin}')
return pins