#188 refactored RPS dmg_crit to dmg_high
This commit is contained in:
@@ -65,7 +65,7 @@ local IO_PORT = {
|
||||
R_AUTO_CTRL = 13, -- active high, if the reactor burn rate is automatic
|
||||
R_SCRAMMED = 14, -- active high, if the reactor is scrammed
|
||||
R_AUTO_SCRAM = 15, -- active high, if the reactor was automatically scrammed
|
||||
R_DMG_CRIT = 16, -- active high, if the reactor damage is critical
|
||||
R_DMG_HIGH = 16, -- active high, if the reactor damage is high
|
||||
R_HIGH_TEMP = 17, -- active high, if the reactor is at a high temperature
|
||||
R_NO_COOLANT = 18, -- active high, if the reactor has no coolant
|
||||
R_EXCESS_HC = 19, -- active high, if the reactor has excess heated coolant
|
||||
@@ -108,7 +108,7 @@ function rsio.to_string(port)
|
||||
"R_AUTO_CTRL",
|
||||
"R_SCRAMMED",
|
||||
"R_AUTO_SCRAM",
|
||||
"R_DMG_CRIT",
|
||||
"R_DMG_HIGH",
|
||||
"R_HIGH_TEMP",
|
||||
"R_NO_COOLANT",
|
||||
"R_EXCESS_HC",
|
||||
@@ -171,7 +171,7 @@ local RS_DIO_MAP = {
|
||||
{ _in = _I_ACTIVE_HIGH, _out = _O_ACTIVE_HIGH, mode = IO_DIR.OUT },
|
||||
-- R_AUTO_SCRAM
|
||||
{ _in = _I_ACTIVE_HIGH, _out = _O_ACTIVE_HIGH, mode = IO_DIR.OUT },
|
||||
-- R_DMG_CRIT
|
||||
-- R_DMG_HIGH
|
||||
{ _in = _I_ACTIVE_HIGH, _out = _O_ACTIVE_HIGH, mode = IO_DIR.OUT },
|
||||
-- R_HIGH_TEMP
|
||||
{ _in = _I_ACTIVE_HIGH, _out = _O_ACTIVE_HIGH, mode = IO_DIR.OUT },
|
||||
@@ -215,7 +215,7 @@ function rsio.get_io_mode(port)
|
||||
IO_MODE.DIGITAL_OUT, -- R_AUTO_CTRL
|
||||
IO_MODE.DIGITAL_OUT, -- R_SCRAMMED
|
||||
IO_MODE.DIGITAL_OUT, -- R_AUTO_SCRAM
|
||||
IO_MODE.DIGITAL_OUT, -- R_DMG_CRIT
|
||||
IO_MODE.DIGITAL_OUT, -- R_DMG_HIGH
|
||||
IO_MODE.DIGITAL_OUT, -- R_HIGH_TEMP
|
||||
IO_MODE.DIGITAL_OUT, -- R_NO_COOLANT
|
||||
IO_MODE.DIGITAL_OUT, -- R_EXCESS_HC
|
||||
|
||||
Reference in New Issue
Block a user