diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-04-02 07:28:03 -0500 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-04 22:37:18 -0700 |
commit | eb5907ab3b8805d4c9990cba45ac4b46f6e5cdb8 (patch) | |
tree | 479922f6bf0b1a34a94ce28be844e9a64cc67152 /SupportedDivecomputers.html | |
parent | 7be962bfc2879a72c32ff67518731347dcdff6de (diff) | |
download | subsurface-eb5907ab3b8805d4c9990cba45ac4b46f6e5cdb8.tar.gz |
Remove linear pressure interpolation detection code
Dirk says that divinglog hasn't been doing the linear pressure
interpolation for a long while, so we're doing extra dive fixups that
really aren't needed any more.
Also, the code is actually buggy: it only ever worked on the first
cylinder anyway (because only the first cylinder pressure_delta[] would
be initialized). That was probably perfectly fine in practice, since
it's unlikely that many tech divers used old versions of divinglog
anyway, so the bug per se isn't a reason to remove it - but it is a sign
that the code was a bit hard to read, so let's get rid of it if there is
no reason to maintain it or fix it.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'SupportedDivecomputers.html')
0 files changed, 0 insertions, 0 deletions