From 776f7a9911c11f392b4b0d8cbe6d044a7b98b19b Mon Sep 17 00:00:00 2001 From: Serge Bazanski Date: Sat, 28 Sep 2024 07:36:02 +0200 Subject: [PATCH] succd: add hysteresis for high pressure safety interlock --- succbone/succd/process.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/succbone/succd/process.go b/succbone/succd/process.go index 313af1d..31bc1fa 100644 --- a/succbone/succd/process.go +++ b/succbone/succd/process.go @@ -154,7 +154,7 @@ func (d *daemon) processOnce(_ context.Context) error { d.safety.highPressure = true klog.Errorf("Pressure is too high; enabling diffusion pump lockout") } - } else { + } else if mbar < (1e-1)-(1e-2) { if d.safety.highPressure { d.safety.highPressure = false klog.Infof("Pressure is low enough for diffusion pump operation; quitting diffusion pump lockout")