From f0e68137d770ad5547deea246faeef99dc589adf Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Sat, 24 Jan 2015 00:29:34 +0100 Subject: DLF import: parse and import surfacepressure Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- parse-xml.c | 1 + 1 file changed, 1 insertion(+) diff --git a/parse-xml.c b/parse-xml.c index 9113aae06..e48f75016 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -2598,6 +2598,7 @@ int parse_dlf_buffer(unsigned char *buffer, size_t size) } cur_dc->maxdepth.mm = ((ptr[21] << 8) + ptr[20]) * 10; + cur_dc->surface_pressure.mbar = ((ptr[25] << 8) + ptr[24]) / 10; /* Done with parsing what we know about the dive header */ ptr += 32; -- cgit v1.2.3-70-g09d2