aboutsummaryrefslogtreecommitdiffstats
path: root/core/android.cpp
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2017-07-22 08:28:39 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-22 10:38:00 -0700
commitb9f52d0aff470991568a7c1af5af529b0142e1e8 (patch)
treee0a58210472a0e7a62308fa56333e5f4095b44bd /core/android.cpp
parentf2a6a76b3e64858691dda623873b2d40c1e98add (diff)
downloadsubsurface-b9f52d0aff470991568a7c1af5af529b0142e1e8.tar.gz
Gas usage statistics: don't require gas switch events
Our "get_has_used()" helper only filled in gas usage for cylinders that had a gas change event associated with them. That works really badly for things like CCR, but also simply for cases where the dive computer wasn't necessarily explicitly notified about usage, like sidemount diving etc. Just remove the logic. If some use ends up particularly wanting to ignore some cylinder, they can always do it in the caller instead. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/android.cpp')
0 files changed, 0 insertions, 0 deletions