summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2017-08-22 21:21:09 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-08-24 13:06:50 -0700
commitfb151df883273bd01a1c56e30fe92575fa74fea1 (patch)
tree2c7fa573e70356d9444fcaa37c20f406b1a77510 /core
parenta20aa850da80d82f48242b146ab0e48a1b445542 (diff)
downloadsubsurface-fb151df883273bd01a1c56e30fe92575fa74fea1.tar.gz
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>
Diffstat (limited to 'core')
-rw-r--r--core/parse-xml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/parse-xml.c b/core/parse-xml.c
index ebcfacf21..1fbf7f37e 100644
--- a/core/parse-xml.c
+++ b/core/parse-xml.c
@@ -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");