Skip to content

Commit

Permalink
Update InMoov2.java (#1431)
Browse files Browse the repository at this point in the history
  • Loading branch information
hairygael authored Nov 10, 2024
1 parent ddf92c6 commit f4e4393
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/org/myrobotlab/service/InMoov2.java
Original file line number Diff line number Diff line change
Expand Up @@ -1208,8 +1208,9 @@ public void onPirOff() {
*/
public void onPirOn() {
log.info("onPirOn");
// FIXME flash on config.flashOnBoot
invoke("publishFlash", "pir");
if (config.flashOnPir == true) {
invoke("publishFlash", "pir");
}
ProgramAB chatBot = (ProgramAB) getPeer("chatBot");
if (chatBot != null) {
String botState = chatBot.getPredicate("botState");
Expand Down

0 comments on commit f4e4393

Please sign in to comment.