mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
When merging dives, match up the cylinders to each other using gasmix
.. so that different computers that have different ordering of the same cylinders will see the end result the same way. This also fixes up the sample sensor index and generates special initial tank change events for the dive computers that had their cylinder indexes renamed on them. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c083ec45a9
commit
f2f29665d4
3 changed files with 150 additions and 20 deletions
2
dive.h
2
dive.h
|
|
@ -683,6 +683,8 @@ void add_gas_to_nth_dp(struct diveplan *diveplan, int idx, int o2, int he);
|
|||
void free_dps(struct divedatapoint *dp);
|
||||
void get_gas_string(int o2, int he, char *buf, int len);
|
||||
|
||||
struct event *get_next_event(struct event *event, char *name);
|
||||
|
||||
#ifdef DEBUGFILE
|
||||
extern char *debugfilename;
|
||||
extern FILE *debugfile;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue