mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
DLF import: Document unknown fields
Signed-off-by: Anton Lundin <glance@acc.umu.se>
This commit is contained in:
parent
ea7f861d3d
commit
48b091c369
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
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
|
// ptr[11] & 0xF0 is unknown, and always 0xC in all checked files
|
||||||
cur_sample->stopdepth.mm = ((ptr[13] << 8) + ptr[12]) * 10;
|
cur_sample->stopdepth.mm = ((ptr[13] << 8) + ptr[12]) * 10;
|
||||||
|
//ptr[14] and ptr[15] is unknown, always zero in checked files
|
||||||
sample_end();
|
sample_end();
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
|
|
Loading…
Reference in a new issue