diff options
author | cheapie <no-email-for-you@example.com> | 2024-04-14 16:01:55 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2024-04-14 16:01:55 -0500 |
commit | b49a12cd7d60885248a56987a0cf8b1b8a367e20 (patch) | |
tree | 391ed2862d0b8c770ee2cca7e08dff6fe365bcbe | |
parent | 6152a079ab1c7583da32b71c7236cd079fe2810b (diff) | |
download | celevator-b49a12cd7d60885248a56987a0cf8b1b8a367e20.tar celevator-b49a12cd7d60885248a56987a0cf8b1b8a367e20.tar.gz celevator-b49a12cd7d60885248a56987a0cf8b1b8a367e20.tar.bz2 celevator-b49a12cd7d60885248a56987a0cf8b1b8a367e20.tar.xz celevator-b49a12cd7d60885248a56987a0cf8b1b8a367e20.zip |
Fix PI not flashing in fire service
-rw-r--r-- | controllerfw.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controllerfw.lua b/controllerfw.lua index b909a5f..ae68999 100644 --- a/controllerfw.lua +++ b/controllerfw.lua @@ -881,7 +881,7 @@ local arrowenabled = { mem.piuparrow = mem.drive.status.vel > 0 and arrowenabled[mem.carstate] mem.pidownarrow = mem.drive.status.vel < 0 and arrowenabled[mem.carstate] -mem.flash_fs = false +mem.flash_fs = (mem.carstate == "fs1" or mem.carstate == "fs2") mem.flash_is = mem.carstate == "indep" mem.lanterns = {} |