From 5979e709c0ec4f4a3901b20405cfd156f8353768 Mon Sep 17 00:00:00 2001 From: Langevin Gael Date: Thu, 12 Oct 2023 20:37:12 +0200 Subject: [PATCH] Update InMoov2.java --- src/main/java/org/myrobotlab/service/InMoov2.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/myrobotlab/service/InMoov2.java b/src/main/java/org/myrobotlab/service/InMoov2.java index 97ab19c4d2..736059e43b 100644 --- a/src/main/java/org/myrobotlab/service/InMoov2.java +++ b/src/main/java/org/myrobotlab/service/InMoov2.java @@ -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