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
690de648
Commit
690de648
authored
Aug 12, 2020
by
Peter Švihra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed data mismatch
parent
81c823ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
UILoop.cpp
arduino/hev_prototype_v1/src/UILoop.cpp
+1
-1
CommsCommon.py
raspberry-dataserver/CommsCommon.py
+3
-2
No files found.
arduino/hev_prototype_v1/src/UILoop.cpp
View file @
690de648
...
...
@@ -150,7 +150,7 @@ void UILoop::reportReadbackValues()
_readback_data
.
valve_exhale
=
vexhale
;
_readback_data
.
valve_purge
=
vpurge
;
_readback_data
.
ventilation_mode
=
static_cast
<
uint8_t
>
(
_breathing_loop
->
getVentilationMode
()
);
_readback_data
.
ventilation_mode
=
_breathing_loop
->
getVentilationMode
(
);
_readback_data
.
valve_inhale_percent
=
0
;
_readback_data
.
valve_exhale_percent
=
0
;
...
...
raspberry-dataserver/CommsCommon.py
View file @
690de648
...
...
@@ -296,8 +296,8 @@ class DataFormat(PayloadFormat):
ambient_temperature
:
int
=
0
airway_pressure
:
float
=
0.0
flow
:
float
=
0.0
flow_calc
:
float
=
0.0
volume
:
float
=
0.0
flow_calc
:
float
=
0.0
volume
:
float
=
0.0
target_pressure
:
float
=
0.0
##
process_pressure
:
float
=
0.0
valve_duty_cycle
:
float
=
0.0
...
...
@@ -331,6 +331,7 @@ class DataFormat(PayloadFormat):
self
.
ambient_temperature
,
self
.
airway_pressure
,
self
.
flow
,
self
.
flow_calc
,
self
.
volume
,
self
.
target_pressure
,
self
.
process_pressure
,
...
...
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