Fix the freedive mode detection for the Mares Puck Air.

This commit is contained in:
Jef Driesen 2012-04-10 20:53:38 +02:00
parent 3882827736
commit bb4a498302
2 changed files with 2 additions and 2 deletions

View File

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

View File

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