Shearwater Perdix

Reportedly the case 2 corresponds to Perdix, so it might be that both
Petrel and Perdix use same model number (or the model is mistaken
before).

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
Miika Turkia 2017-08-22 21:21:09 +03:00 committed by Dirk Hohndel
parent a20aa850da
commit fb151df883

View file

@ -2817,7 +2817,7 @@ extern int shearwater_dive(void *param, int columns, char **data, char **column)
if (data[10]) {
switch (atoi(data[10])) {
case 2:
cur_settings.dc.model = strdup("Shearwater Petrel");
cur_settings.dc.model = strdup("Shearwater Petrel/Perdix");
break;
case 4:
cur_settings.dc.model = strdup("Shearwater Predator");
@ -2836,7 +2836,7 @@ extern int shearwater_dive(void *param, int columns, char **data, char **column)
if (data[10]) {
switch (atoi(data[10])) {
case 2:
cur_dive->dc.model = strdup("Shearwater Petrel");
cur_dive->dc.model = strdup("Shearwater Petrel/Perdix");
break;
case 4:
cur_dive->dc.model = strdup("Shearwater Predator");