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:
Jef Driesen 2015-05-11 21:30:03 +02:00
parent 568365397d
commit 50c8b46c96
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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