mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Merge branch 'master' of https://github.com/dje29/subsurface
This commit is contained in:
commit
08284275e7
31 changed files with 210 additions and 201 deletions
|
@ -234,9 +234,9 @@ static void parse_dives (int log_version, const unsigned char *buf, unsigned int
|
|||
// Xeo, with CNS and OTU
|
||||
start_cns = *(float *) (buf + ptr);
|
||||
ptr += 4;
|
||||
dive->cns = *(float *) (buf + ptr); // end cns
|
||||
dive->cns = lrintf(*(float *) (buf + ptr)); // end cns
|
||||
ptr += 4;
|
||||
dive->otu = *(float *) (buf + ptr);
|
||||
dive->otu = lrintf(*(float *) (buf + ptr));
|
||||
ptr += 4;
|
||||
dive_mode = *(buf + ptr++); // 0=Deco, 1=Gauge, 2=None
|
||||
algorithm = *(buf + ptr++); // 0=ZH-L16C+GF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue