succd: calcuate change rate for safety interlock directly from adc ringbuffer
This commit is contained in:
parent
d3391b28ec
commit
9ad6ce7dad
3 changed files with 20 additions and 40 deletions
|
|
@ -31,7 +31,6 @@ 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