From 9c27ac7ae6946ece44a7ccbe2d7d5a407fd7769b Mon Sep 17 00:00:00 2001 From: Mikayla Fischler Date: Sun, 27 Nov 2022 22:53:44 -0500 Subject: [PATCH] bugfix with reset/ack button mappings on coordinator GUI --- coordinator/iocontrol.lua | 4 ++-- coordinator/startup.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/coordinator/iocontrol.lua b/coordinator/iocontrol.lua index 67727cb..2926289 100644 --- a/coordinator/iocontrol.lua +++ b/coordinator/iocontrol.lua @@ -62,8 +62,8 @@ function iocontrol.init(conf, comms) alarm_callbacks = { c_breach = { ack = function () ack(1) end, reset = function () reset(1) end }, radiation = { ack = function () ack(2) end, reset = function () reset(2) end }, - dmg_crit = { ack = function () ack(3) end, reset = function () reset(3) end }, - r_lost = { ack = function () ack(4) end, reset = function () reset(4) end }, + r_lost = { ack = function () ack(3) end, reset = function () reset(3) end }, + dmg_crit = { ack = function () ack(4) end, reset = function () reset(4) end }, damage = { ack = function () ack(5) end, reset = function () reset(5) end }, over_temp = { ack = function () ack(6) end, reset = function () reset(6) end }, high_temp = { ack = function () ack(7) end, reset = function () reset(7) end }, diff --git a/coordinator/startup.lua b/coordinator/startup.lua index b82fa4f..225c681 100644 --- a/coordinator/startup.lua +++ b/coordinator/startup.lua @@ -17,7 +17,7 @@ local config = require("coordinator.config") local coordinator = require("coordinator.coordinator") local renderer = require("coordinator.renderer") -local COORDINATOR_VERSION = "alpha-v0.7.0" +local COORDINATOR_VERSION = "alpha-v0.7.1" local print = util.print local println = util.println