diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-11-07 15:06:18 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-11-07 15:06:18 +0100 |
commit | 51003eaed71ea823dc8ce88e7de0e785a50b24cb (patch) | |
tree | 4859598a98682b2693cd5f022d662fca1693eb73 /main.c | |
parent | ed620a2e835745d8ae6e7ecfeaf3a018dc4825ac (diff) | |
download | subsurface-51003eaed71ea823dc8ce88e7de0e785a50b24cb.tar.gz |
Fix partial pressure calculation
The existing implementation failed on dive computers that did gas changes
based on events (instead of tracking them in the sample data like the
Uemis Zurich does that I tested the code with).
This commit moves the calculations slightly later in create_plot_info()
after the gas change events are processed and the plot_info data has been
fixed up. Now this works with the data from Linus' Suunto as well.
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions