From a66f2839c3193c74f05612aa70737c48e2210381 Mon Sep 17 00:00:00 2001 From: Ollo Date: Thu, 18 Mar 2021 21:50:44 +0100 Subject: [PATCH] Added timer ALARM constants --- simulation/src/de/c3ma/ollo/mockup/ESP8266Tmr.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/simulation/src/de/c3ma/ollo/mockup/ESP8266Tmr.java b/simulation/src/de/c3ma/ollo/mockup/ESP8266Tmr.java index 5802d18..ad2f4b8 100644 --- a/simulation/src/de/c3ma/ollo/mockup/ESP8266Tmr.java +++ b/simulation/src/de/c3ma/ollo/mockup/ESP8266Tmr.java @@ -35,6 +35,8 @@ public class ESP8266Tmr extends TwoArgFunction { tmr.set("alarm", new alarm()); tmr.set("create", new create()); tmr.set("wdclr", new watchDog()); + tmr.set("ALARM_AUTO", "ALARM_AUTO"); + tmr.set("ALARM_SINGLE", "ALARM_SINGLE"); env.set("tmr", tmr); env.get("package").get("loaded").set("tmr", tmr);