succd: add additional safety interlocks
This commit is contained in:
parent
f7752922c2
commit
d3391b28ec
3 changed files with 66 additions and 3 deletions
|
|
@ -31,6 +31,7 @@ func main() {
|
|||
}
|
||||
d.aboveRough.threshold = float64(flagPressureThresholdRough)
|
||||
d.aboveHigh.threshold = float64(flagPressureThresholdHigh)
|
||||
d.lastPressures = newRingbuffer()
|
||||
if flagFake {
|
||||
klog.Infof("Starting with fake peripherals")
|
||||
d.adcPirani = &fakeADC{}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue