Revert "change invalid pin from error to warning"

This reverts commit 68da9cd19658071f0c2f22e97956303281703176.
master
Zach White 2021-01-06 10:37:31 -08:00 committed by Zach White
parent ed19198c78
commit e2e793c1c3
1 changed files with 1 additions and 1 deletions

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