Added timer ALARM constants
This commit is contained in:
parent
238618b245
commit
a66f2839c3
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user