Recognize O2 percentage from MacDive import
MacDive use "o2percent" in its XML export Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b709dff23d
commit
b03ae632d5
@ -1005,6 +1005,8 @@ static void try_to_fill_dive(struct dive *dive, const char *name, char *buf)
|
||||
return;
|
||||
if (MATCH(".o2", gasmix, &dive->cylinder[cur_cylinder_index].gasmix.o2))
|
||||
return;
|
||||
if (MATCH(".o2percent", gasmix, &dive->cylinder[cur_cylinder_index].gasmix.o2))
|
||||
return;
|
||||
if (MATCH(".n2", gasmix_nitrogen, &dive->cylinder[cur_cylinder_index].gasmix))
|
||||
return;
|
||||
if (MATCH(".he", gasmix, &dive->cylinder[cur_cylinder_index].gasmix.he))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user