From a06befc0075c19afbec31130b6d1e0f4447a2498 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Wed, 12 Nov 2014 23:33:40 +0100 Subject: Support different salinity in planner Depth is often mentioned in a length unit, but what we care about is pressure. When diving in fresh water the pressure is lower than the same depth in salt water. This adds support for using different salinities in planning. Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- dive.h | 1 + 1 file changed, 1 insertion(+) (limited to 'dive.h') diff --git a/dive.h b/dive.h index 70c418706..482af6fa7 100644 --- a/dive.h +++ b/dive.h @@ -766,6 +766,7 @@ struct diveplan { int surface_pressure; /* mbar */ int bottomsac; /* ml/min */ int decosac; /* ml/min */ + int salinity; short gflow; short gfhigh; struct divedatapoint *dp; -- cgit v1.2.3-70-g09d2