mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
In statistics, ignore gas use of planned dives
When merged with real dives, those would double count otherwise. Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
parent
a031dbbbd8
commit
1d8662006c
8 changed files with 16 additions and 14 deletions
|
@ -771,7 +771,7 @@ extern void copy_events(struct divecomputer *s, struct divecomputer *d);
|
|||
extern void free_events(struct event *ev);
|
||||
extern void copy_cylinders(struct dive *s, struct dive *d, bool used_only);
|
||||
extern void copy_samples(struct divecomputer *s, struct divecomputer *d);
|
||||
extern bool is_cylinder_used(struct dive *dive, int idx);
|
||||
extern bool is_cylinder_used(struct dive *dive, int idx, bool ignore_planned);
|
||||
extern void fill_default_cylinder(cylinder_t *cyl);
|
||||
extern void add_gas_switch_event(struct dive *dive, struct divecomputer *dc, int time, int idx);
|
||||
extern struct event *add_event(struct divecomputer *dc, unsigned int time, int type, int flags, int value, const char *name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue