summaryrefslogtreecommitdiffstats
path: root/planner.c
diff options
context:
space:
mode:
Diffstat (limited to 'planner.c')
-rw-r--r--planner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/planner.c b/planner.c
index fcca0d78e..b04c835ef 100644
--- a/planner.c
+++ b/planner.c
@@ -176,7 +176,7 @@ void fill_default_cylinder(cylinder_t *cyl)
cyl->type.size.mliter = cuft_to_l(ti->cuft) * 1000 / bar_to_atm(psi_to_bar(ti->psi));
}
// MOD of air
- cyl->depth = gas_mod(&cyl->gasmix, pO2, 1);
+ cyl->depth = gas_mod(&cyl->gasmix, pO2, &displayed_dive, 1);
}
/* make sure that the gas we are switching to is represented in our