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
f24f19de
Commit
f24f19de
authored
Feb 12, 2021
by
Derick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved logging to updateReadings() for a more frequent logging, removed time from logging message
parent
b0c19533
Pipeline
#919
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
BreathingLoop.cpp
arduino/hev_prototype_v1/src/BreathingLoop.cpp
+2
-3
No files found.
arduino/hev_prototype_v1/src/BreathingLoop.cpp
View file @
f24f19de
...
...
@@ -253,7 +253,8 @@ void BreathingLoop::updateReadings()
resetReadingSums
();
updateFromTargets
();
// logging to cross check fio2 with TestChest
logMsg
(
String
(
_targets_current
->
fiO2_percent
)
+
","
+
String
(
_readings_avgs
.
o2_percent
)
+
","
+
String
(
_fiO2_est
));
}
}
...
...
@@ -293,8 +294,6 @@ void BreathingLoop::updateCycleReadings()
_cycle_readings
.
timestamp
=
tnow
;
_cycle_readings
.
fiO2_percent
=
_readings_avgs
.
o2_percent
;
// FIXME
// logging to cross check fio2 with TestChest
logMsg
(
String
(
tnow
)
+
","
+
String
(
_targets_current
->
fiO2_percent
)
+
","
+
String
(
_readings_avgs
.
o2_percent
)
+
","
+
String
(
_fiO2_est
));
_running_inhale_minute_volume
[
_cycle_index
]
=
_volume_inhale
;
_running_exhale_minute_volume
[
_cycle_index
]
=
_volume_exhale
;
_total_cycle_duration
[
_cycle_index
]
=
(
...
...
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