summaryrefslogtreecommitdiffstats
path: root/profile.h
diff options
context:
space:
mode:
authorGravatar Willem Ferguson <willemferguson@zoology.up.ac.za>2015-01-05 09:20:26 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-05 09:18:06 -0800
commit0de3bc84523778ad74a305a5f9e85645c90e02cf (patch)
treefcef310e491b9bb8de14c88ca756c21eaaccf25c /profile.h
parent27bfbee4e8c3644dedea61f67338dcb2b83ffbed (diff)
downloadsubsurface-0de3bc84523778ad74a305a5f9e85645c90e02cf.tar.gz
Display CCR setpoint values on the po2 graph
When a CCR dive is viewed and the toolbar button for PO2 is activated, both the PO2 (green line) and the O2 setpoint (red line) are shown. This allows evaluation of the PO2 in the CCR loop with respect to the pre-configured O2 setpoint. The setpoint graph can be disabled from the Preferences/Graphs tab by checking the appropriate checkbox. Signed-off-by: willem ferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.h')
-rw-r--r--profile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/profile.h b/profile.h
index 5c30ca4de..0ae9a8f84 100644
--- a/profile.h
+++ b/profile.h
@@ -43,6 +43,7 @@ struct plot_data {
struct gas_pressures pressures;
pressure_t o2pressure; // for rebreathers, this is consensus measured po2, or setpoint otherwise. 0 for OC.
pressure_t o2sensor[3]; //for rebreathers with up to 3 PO2 sensors
+ pressure_t o2setpoint;
double mod, ead, end, eadd;
velocity_t velocity;
int speed;