mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
This is the official upstream of the Subsurface divelog program
adc7280c02
Did I just say "In comparison, the libdivecomputer output is nice and sane"? It turns out that libdivecomputer has been doing some drugs too when it comes to gas mixes. Like showing O2 percentages as 255.0% and N2 percentages as -155.0%. Clearly libdivecomputer uses a 'unsigned char' for oxygen percentage, and makes "-1" be "undefined". And then it prints that non-existing mix out, and in the process does MATH on the damn thing ("100-O2") to "calculate" the nitrogen percentage. Christ. Just make the parser silently ignore the craziness, because printing out "Strange percentage reading -155.0" a few hundred times just doesn't make anything any better. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
dives | ||
.gitignore | ||
display.h | ||
dive.h | ||
divelist.c | ||
info.c | ||
main.c | ||
Makefile | ||
parse-xml.c | ||
profile.c | ||
README | ||
scripts |
Half-arsed divelog software in C. I'm tired of java programs that don't work etc. License: GPLv2