From f08b0e0e3ec088dfc6cc3084283de34a4fc78005 Mon Sep 17 00:00:00 2001 From: Rick Walsh Date: Wed, 6 Jul 2016 22:40:35 +1000 Subject: Planner: automate calculation of best mix for max depth Add option to calculate the best mix portion of O2 and He for the dive's max depth if the user enters * in the MOD and MND cylinder fields. Gas portions are automatically recalculated if the max depth of the dive changes. Signed-off-by: Rick Walsh Signed-off-by: Dirk Hohndel --- core/dive.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/dive.h') diff --git a/core/dive.h b/core/dive.h index c968746f8..a0ae0a50c 100644 --- a/core/dive.h +++ b/core/dive.h @@ -78,6 +78,8 @@ typedef struct volume_t gas_used; volume_t deco_gas_used; enum cylinderuse cylinder_use; + bool bestmix_o2; + bool bestmix_he; } cylinder_t; typedef struct -- cgit v1.2.3-70-g09d2