gpio: fixed set_output initial

This commit is contained in:
Devaev Maxim 2018-06-30 01:38:58 +03:00
parent d77c88e25f
commit 0cfb3c5dbc

View File

@ -22,7 +22,6 @@ def bcm() -> Generator[None, None, None]:
def set_output(pin: int, initial: bool=False) -> int:
GPIO.setup(pin, GPIO.OUT, initial=initial)
GPIO.output(pin, False)
return pin