Adapted to changes in c4ctrl
This commit is contained in:
parent
a4310ec1c7
commit
e111f5df8c
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,8 @@ def kitchentext(delay=200, single=False, wait=False, restore=False, poweron=Fals
|
|||
|
||||
# Store previous state
|
||||
if restore:
|
||||
c4 = C4Interface([kl.topic, kl.powertopic])
|
||||
safe = c4.pull()
|
||||
c4 = C4Interface()
|
||||
safe = c4.pull([kl.topic, kl.powertopic])
|
||||
|
||||
try:
|
||||
stop = False
|
||||
|
|
Loading…
Reference in a new issue