mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 15:18:09 +01:00
Merge pull request #11226 from VOREStation/Arokha/between
Remove the between() proc
This commit is contained in:
committed by
Chompstation Bot
parent
21534eef24
commit
fb491666a0
@@ -185,11 +185,7 @@
|
||||
unlocked = !unlocked
|
||||
|
||||
if("set_target_pressure" in signal.data)
|
||||
target_pressure = between(
|
||||
0,
|
||||
text2num(signal.data["set_target_pressure"]),
|
||||
max_pressure_setting
|
||||
)
|
||||
target_pressure = between(0, text2num(signal.data["set_target_pressure"]), max_pressure_setting)
|
||||
|
||||
if("set_regulate_mode" in signal.data)
|
||||
regulate_mode = text2num(signal.data["set_regulate_mode"])
|
||||
|
||||
Reference in New Issue
Block a user