summaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-11-25 12:39:08 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-11-25 13:05:32 -0800
commit42240a83ff8e5cfb636dcc31aa2faf99bb19f417 (patch)
treebb0c0d1a432c19b9372eac358783cf22a2bfc55b /file.h
parent7bfc8de55e0476b5604496839d920db597490a83 (diff)
downloadsubsurface-42240a83ff8e5cfb636dcc31aa2faf99bb19f417.tar.gz
Be much saner about merging dive computer data
Now that we have dive computer device ID fields etc, we can do a much better job of merging the dive computer data. The rule is - if we actually merge two disjoint dives (ie extended surface interval causing the dive computer to think the dive ended and turning two of those dives into one), find the *matching* dive computer from the other dive to combine with. - if we are merging dives at the same time, discard old-style data with no dive computer info (ie act like a re-download) - if we have new-style dive computers with identifiers, take them all. which seems to work fairly well. There's more tweaking to be done, but I think this is getting to the point where it largely works. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'file.h')
0 files changed, 0 insertions, 0 deletions