diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-02-13 21:07:22 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-13 21:07:22 -0800 |
commit | 6dd6e9068452dc12666aa45cf464031c8a8b0d57 (patch) | |
tree | 30f2dc573725a87288dfa9d12db4bed21e154d29 /save-git.c | |
parent | 1527cd0d05f01dda47bf3634e872580a40000702 (diff) | |
download | subsurface-6dd6e9068452dc12666aa45cf464031c8a8b0d57.tar.gz |
Don't force the first divecomputer to CCR just because there's po2 value
The existing code was bogus as it used cur_dive->dc instead of cur_dc
(i.e., it always changed the first dive computer, even if the po2 was
found in a different one).
But fundamentally I consider this bogus. We are not doing the right thing
here - some dive computer send us pO2 values that are just the calculated
pO2 at a depth and NOT a setpoint, yet we pretend those are setpoints and
then turn these dives into CCR dives.
This needs to done differently.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'save-git.c')
0 files changed, 0 insertions, 0 deletions