diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-08-29 14:07:17 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-08-29 21:43:14 -0700 |
commit | 99d1cecf067daca5d7ed45effac659150e978504 (patch) | |
tree | e281e6c7e5af72ced721e133f057f187d83be057 /android | |
parent | 1b074838308b6377af1461c4bd69028c193edd17 (diff) | |
download | subsurface-99d1cecf067daca5d7ed45effac659150e978504.tar.gz |
Hacky workaround for multiple gas pressures per sample
In subsurface, we only have one cylinder pressure per sample (well,
technically two: we have a separate o2 pressure for rebreather diving).
Which makes things "interesting" if the dive computer can actually have
multiple pressure sensors, and can report them all concurrently. Like
the Suunto EON Steel.
We used to just take the last one (each sensor reading would just
overwrite any previous ones), and this quick hack just changes the logic
to prefer the "current" cylinder instead.
It's wrong, and it's stupid, but it's the best we can do without major
surgery.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'android')
0 files changed, 0 insertions, 0 deletions