gasmix: stop tracking nitrogen percentages

The only thing you can do with that thing is screw things up (like
libdivecomputer did).  There's no value in tracking the "filler" gas,
since you can always just calculate it from the gases that actually
matter.

So just track Oxygen and Helium - and make sure they have sane values.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Linus Torvalds 2011-09-01 16:26:11 -07:00
parent adc7280c02
commit d5e42d485e
2 changed files with 36 additions and 2 deletions

1
dive.h
View file

@ -66,7 +66,6 @@ typedef struct {
typedef struct {
fraction_t o2;
fraction_t n2;
fraction_t he;
} gasmix_t;