[Lua] Add setStickySwitch and getLogicalSwitchValue (#1056)

[Lua] Add setStickySwitch and getLogicalSwitchValue (#1056)
* Adds setStickySwitch to set the value of a stick logical switch
* Adds getLogicalSwitchValue to get the value of a logical switch by index
This commit is contained in:
Jesper Frickmann
2021-11-29 12:48:01 +11:00
committed by GitHub
parent 15233e1add
commit a09e318e64
4 changed files with 130 additions and 3 deletions
+2
View File
@@ -1310,3 +1310,5 @@ inline bool isAsteriskDisplayed()
}
#include "module.h"
extern CircularBuffer<uint8_t, 8> luaSetStickySwitchBuffer;