Fix the freedive mode detection for the Mares Puck Air.
This commit is contained in:
parent
3882827736
commit
bb4a498302
@ -255,7 +255,7 @@ mares_common_extract_dives (const mares_common_layout_t *layout, const unsigned
|
||||
// Get the freedive mode for this model.
|
||||
unsigned int model = data[1];
|
||||
unsigned int freedive = 2;
|
||||
if (model == 1 || model == 7)
|
||||
if (model == 1 || model == 7 || model == 19)
|
||||
freedive = 3;
|
||||
|
||||
// Get the end of the profile ring buffer.
|
||||
|
||||
@ -95,7 +95,7 @@ mares_nemo_parser_create (parser_t **out, unsigned int model)
|
||||
|
||||
// Get the freedive mode for this model.
|
||||
unsigned int freedive = 2;
|
||||
if (model == NEMOWIDE || model == PUCK)
|
||||
if (model == NEMOWIDE || model == PUCK || model == PUCKAIR)
|
||||
freedive = 3;
|
||||
|
||||
// Set the default values.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user