Skip to content

Commit

Permalink
Update InMoov2.java
Browse files Browse the repository at this point in the history
  • Loading branch information
hairygael authored Oct 12, 2023
1 parent b8c552d commit 5979e70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/myrobotlab/service/InMoov2.java
Original file line number Diff line number Diff line change
Expand Up @@ -926,9 +926,10 @@ public void onPirOn() {
// FIXME flash on config.flashOnBoot
invoke("publishFlash");
String sleepState = fsm.getCurrent();
if ("SLEEPING".equals(sleepState))
if ("SLEEPING".equals(sleepState)) {
invoke("publishEvent", "WAKE");
}
}

// GOOD GOOD GOOD - LOOPBACK - flexible and replacable by python
// yet provides a stable default, which can be fully replaced
Expand Down

0 comments on commit 5979e70

Please sign in to comment.