setup one wire added

This commit is contained in:
Manuel Fritsch 2021-02-06 14:14:11 +01:00
parent b2fe0c8453
commit 395ad3521d

View file

@ -229,9 +229,9 @@ def setup():
@click.command()
@click.option('--list', is_flag=True)
def onewire(list):
'''Setup 1wire on Raspberry Pi'''
if list is True:
list_one_wire()
else:
print("Setting up 1Wire")
setup_one_wire()