Fix the size of the dive header.
The size of the dive header is one byte smaller: 0x32 instead of 0x33 bytes. Because we were expecting a larger packet, this bug caused the downloading of the dive headers to fail. I'm surprised no one noticed this mistake before.
This commit is contained in:
parent
568365397d
commit
50c8b46c96
@ -52,7 +52,7 @@
|
||||
|
||||
#define SZ_ID 0x0A
|
||||
#define SZ_RANGE 0x04
|
||||
#define SZ_HEADER 0x33
|
||||
#define SZ_HEADER 0x32
|
||||
#define SZ_SAMPLE 0x2A
|
||||
|
||||
#define NSTEPS 1000
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
|
||||
#define ISINSTANCE(parser) dc_device_isinstance((parser), &divesystem_idive_parser_vtable)
|
||||
|
||||
#define SZ_HEADER 0x33
|
||||
#define SZ_HEADER 0x32
|
||||
#define SZ_SAMPLE 0x2A
|
||||
|
||||
#define NGASMIXES 8
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user