forked from platypush/platypush
Typo
This commit is contained in:
parent
ba1eca29fc
commit
335d3e3cd7
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ class GpioPlugin(Plugin):
|
|||
raise RuntimeError("No PIN mappings were provided/configured")
|
||||
|
||||
values = []
|
||||
for (pin, name) in self.pins_by_number.keys():
|
||||
for (pin, name) in self.pins_by_number.items():
|
||||
gpio.setmode(gpio.BCM)
|
||||
gpio.setup(pin, gpio.IN)
|
||||
val = gpio.input(pin)
|
||||
|
|
Loading…
Reference in a new issue