summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse-xml.c')
-rw-r--r--parse-xml.c1
1 files changed, 1 insertions, 0 deletions
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;