From eb027f2a4b83ed8eb127f0c736021556aa3952a0 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Wed, 20 Nov 2013 00:29:32 +0100 Subject: Do per cylinder statistics This shows how much gas form each cylinder was used. I would like to add SAC to that list too but it became a mess trying to calculate average depth per cylinder. Design based on idea in #284 Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- statistics.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'statistics.h') diff --git a/statistics.h b/statistics.h index d5d373df0..47fd24d3c 100644 --- a/statistics.h +++ b/statistics.h @@ -40,7 +40,7 @@ extern char *get_time_string(int seconds, int maxdays); extern char *get_minutes(int seconds); extern void process_all_dives(struct dive *dive, struct dive **prev_dive); extern void get_selected_dives_text(char *buffer, int size); -extern volume_t get_gas_used(struct dive *dive); +extern void get_gas_used(struct dive *dive, volume_t gases[MAX_CYLINDERS]); extern char *get_gaslist(struct dive *dive); extern void process_selected_dives(void); -- cgit v1.2.3-70-g09d2