aboutsummaryrefslogtreecommitdiffstats
path: root/display.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-05 10:53:00 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-05 10:58:53 -0700
commit4f5e3a06ab9ea8dea656b07bff9d0f4022c5b6ba (patch)
tree3c3a3144fe362503605d4d612f3c4cb86f1d7044 /display.h
parent04c98344b3c50b58dcc62eeb6d13e11030eb662d (diff)
downloadsubsurface-4f5e3a06ab9ea8dea656b07bff9d0f4022c5b6ba.tar.gz
Parse Uemis cylinder data correctly.
There's a big comment there now about what is going on. It took me a while to understand how the crazy seven-tank uemis dive computer information actually works. So the Uemis computer has 4 different "tank profiles": - single tank air (0) - single tank nitrox (1) - two-tank nitrox (2) - three-tank nitrox (3) and the computer always lists all seven tank cases (because that's how you fill them in). Depending on the "gas.template" you are supposed to then *use* just one particular profile. Why the computer doesn't just give you the tanks for that one profile, who knows? It seems to be more of the same "Uemis dive data isn't so much about the dive, it's about dive computer state" mentality. So we first get the profile information, and then based on that we need to pick the right tanks from the set of seven that we're presented with. All clear? Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'display.h')
0 files changed, 0 insertions, 0 deletions