Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
HEV - High Energy Ventilator
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
HEV - High Energy Ventilator
Commits
46ad7962
Commit
46ad7962
authored
Jun 29, 2020
by
Your Name
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitlab.cern.ch/hev-sw/hev-sw
parents
3b0ee187
bcceb3af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
BreathingLoop.cpp
arduino/hev_prototype_v1/src/BreathingLoop.cpp
+2
-1
No files found.
arduino/hev_prototype_v1/src/BreathingLoop.cpp
View file @
46ad7962
...
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment