summaryrefslogtreecommitdiff
path: root/controllerfw.lua
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2024-04-20 13:22:16 -0500
committercheapie <no-email-for-you@example.com>2024-04-20 13:22:16 -0500
commit88a24a1fe8186fb81347ff2d61903ddfdb1752bc (patch)
tree20e55c604d53defb6e5db9c0b69bd53820924b5a /controllerfw.lua
parented7e12a7bb03b2424a12d43857085cade10eae8b (diff)
downloadcelevator-88a24a1fe8186fb81347ff2d61903ddfdb1752bc.tar
celevator-88a24a1fe8186fb81347ff2d61903ddfdb1752bc.tar.gz
celevator-88a24a1fe8186fb81347ff2d61903ddfdb1752bc.tar.bz2
celevator-88a24a1fe8186fb81347ff2d61903ddfdb1752bc.tar.xz
celevator-88a24a1fe8186fb81347ff2d61903ddfdb1752bc.zip
Finish communication of other items with dispatcher
Diffstat (limited to 'controllerfw.lua')
-rw-r--r--controllerfw.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/controllerfw.lua b/controllerfw.lua
index c2a3449..bbe7278 100644
--- a/controllerfw.lua
+++ b/controllerfw.lua
@@ -615,6 +615,9 @@ elseif event.type == "dispatchermsg" then
elseif event.channel == "carcall" and mem.carstate == "normal" then
mem.carcalls[event.msg] = true
send(event.source,"status",mem)
+ elseif event.channel == "fs1switch" then
+ mem.fs1switch = event.msg
+ mem.fs1led = event.msg
end
end