From 1b7abab9b9c5b5f3c9e9ea6aba7dc32b705316f2 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Tue, 1 Jul 2014 09:37:49 +0200 Subject: Show ascent gas consumption separately in planner In the worst gase you have to provide gas for your buddy during all the ascent. So you should have the amount of gas used in ascent as a reserve. This patch makes the planner notes display that value separately. Signed-off-by: Robert C. Helling Signed-off-by: Dirk Hohndel --- equipment.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'equipment.c') diff --git a/equipment.c b/equipment.c index 51020e5a3..0cc7ea918 100644 --- a/equipment.c +++ b/equipment.c @@ -57,7 +57,8 @@ bool cylinder_nodata(cylinder_t *cyl) !cyl->gasmix.he.permille && !cyl->start.mbar && !cyl->end.mbar && - !cyl->gas_used.mliter; + !cyl->gas_used.mliter && + !cyl->deco_gas_used.mliter; } static bool cylinder_nosamples(cylinder_t *cyl) -- cgit v1.2.3-70-g09d2