From 48b091c3693a35ab23e445830f5d695a57e7c751 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Mon, 5 Jan 2015 22:59:22 +0100 Subject: [PATCH] DLF import: Document unknown fields Signed-off-by: Anton Lundin --- parse-xml.c | 1 + 1 file changed, 1 insertion(+) diff --git a/parse-xml.c b/parse-xml.c index 5e83592b6..fe13f66f2 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -2605,6 +2605,7 @@ int parse_dlf_buffer(unsigned char *buffer, size_t size) cur_sample->temperature.mkelvin = (((ptr[11] & 0x0F) << 4) + (ptr[10] >> 4)) * 100 + ZERO_C_IN_MKELVIN; // ptr[11] & 0xF0 is unknown, and always 0xC in all checked files cur_sample->stopdepth.mm = ((ptr[13] << 8) + ptr[12]) * 10; + //ptr[14] and ptr[15] is unknown, always zero in checked files sample_end(); break; case 1: