Fix the freedive mode detection for the Mares Nemo Wide.

This commit is contained in:
Jef Driesen 2010-03-24 08:08:42 +00:00
parent 39b78aa2eb
commit 54695f1022
2 changed files with 2 additions and 2 deletions

View File

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

View File

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