Added timer ALARM constants

This commit is contained in:
Ollo 2021-03-18 21:50:44 +01:00
parent 238618b245
commit a66f2839c3

View File

@ -35,6 +35,8 @@ public class ESP8266Tmr extends TwoArgFunction {
tmr.set("alarm", new alarm()); tmr.set("alarm", new alarm());
tmr.set("create", new create()); tmr.set("create", new create());
tmr.set("wdclr", new watchDog()); tmr.set("wdclr", new watchDog());
tmr.set("ALARM_AUTO", "ALARM_AUTO");
tmr.set("ALARM_SINGLE", "ALARM_SINGLE");
env.set("tmr", tmr); env.set("tmr", tmr);
env.get("package").get("loaded").set("tmr", tmr); env.get("package").get("loaded").set("tmr", tmr);