Skip to content

Commit

Permalink
Update C_Pir.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hairygael authored Dec 1, 2024
1 parent 4447e3c commit 63b7c1e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions services/C_Pir.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ def publishSense(event):
#wakeup action
if i01_fsm.getState()=="sleep":
i01_pir.disable()
sleepModeWakeUp()
#below is done via InMoov2 java onPirOn()
#sleepModeWakeUp()
else:
i01_pir.disable()
sleepModeWakeUp()
#below is done via InMoov2 java onPirOn()
#sleepModeWakeUp()

# def publishPirOn():
# if runtime.isStarted("i01.pir"):
Expand Down

0 comments on commit 63b7c1e

Please sign in to comment.