DLF import: parse and import surfacepressure
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
bc3b56a969
commit
f0e68137d7
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user