Fix the freedive mode detection for the Mares Nemo Wide.
This commit is contained in:
parent
39b78aa2eb
commit
54695f1022
@ -70,7 +70,7 @@ mares_common_extract_dives (mares_common_device_t *device, const mares_common_la
|
||||
|
||||
// Get the freedive mode for this model.
|
||||
unsigned int freedive = 2;
|
||||
if (data[1] == 7)
|
||||
if (data[1] == 1 || data[1] == 7)
|
||||
freedive = 3;
|
||||
|
||||
// Get the end of the profile ring buffer.
|
||||
|
||||
@ -85,7 +85,7 @@ mares_nemo_parser_create (parser_t **out, unsigned int model)
|
||||
|
||||
// Get the freedive mode for this model.
|
||||
unsigned int freedive = 2;
|
||||
if (model == 7)
|
||||
if (model == 1 || model == 7)
|
||||
freedive = 3;
|
||||
|
||||
// Set the default values.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user