Skip to content
Snippets Groups Projects
Commit 46ad7962 authored by Your Name's avatar Your Name
Browse files

Merge branch 'master' of https://gitlab.cern.ch/hev-sw/hev-sw

parents 3b0ee187 bcceb3af
Branches
No related merge requests found
......@@ -555,6 +555,8 @@ void BreathingLoop::FSM_breathCycle()
_pid.target_pressure = 0.; // Resets the target pressure for the PID target profile
_pid.derivative = 0.; // Resets the derivative for Inhale PID
_pid.istep = 0;
_peep = _running_avg_peep;
break;
case BL_STATES::INHALE:
......@@ -670,7 +672,6 @@ void BreathingLoop::measurePEEP()
_running_index_peep = (_running_index_peep == RUNNING_AVG_READINGS-1 ) ? 0 : _running_index_peep+1;
_peep = _running_avg_peep;
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment