summaryrefslogtreecommitdiffstats
path: root/core/dive.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2017-07-28 10:35:25 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-28 21:50:20 -0700
commitdefa71256fe16de32f69e78657c807828b7488bd (patch)
tree91c5e784225375bff7256d9ca885f548b1059480 /core/dive.c
parent1e337518b81fdcd21b9c2e6efac3cc3ad0667439 (diff)
downloadsubsurface-defa71256fe16de32f69e78657c807828b7488bd.tar.gz
Use the right gasmix for deco calculations
In commit e1b880f4 "Profile support for multiple concurrent pressure sensors" I had mindlessly hacked away at some of the sensor lookups from the plot entries to make it all build, and forgotten about my butchery. Thankfully Jan and Davide noticed in their multi-cylinder deco dives that the deco calculations were no longer correct. This uses the newly introduced "get_gasmix()" helper to look up the currently breathing gasmix, and fixes the deco calculations. Reported-and-tested-by: Jan Mulder <jlmulder@xs4all.nl> Reported-by: Davide DB <dbdavide@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/dive.c')
0 files changed, 0 insertions, 0 deletions