Tweak wording
This commit is contained in:
parent
effc092b63
commit
5a67a4702d
|
@ -68,7 +68,7 @@ def load_overlay(overlay):
|
||||||
actual_pin = pinout.pins[pin]
|
actual_pin = pinout.pins[pin]
|
||||||
|
|
||||||
if actual_pin['type'] in ['+3v3', '+5v', 'GND'] and overlay != 'ground':
|
if actual_pin['type'] in ['+3v3', '+5v', 'GND'] and overlay != 'ground':
|
||||||
raise Exception("{} includes a reference to the {} pin, which isn't allowed".format(overlay, actual_pin['type']))
|
raise Exception("{} includes a reference to a {} pin, which isn't allowed".format(overlay, actual_pin['type']))
|
||||||
else:
|
else:
|
||||||
uses += 1
|
uses += 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue