summaryrefslogtreecommitdiffstats
path: root/core/parse-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/parse-xml.c')
-rw-r--r--core/parse-xml.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/parse-xml.c b/core/parse-xml.c
index e22881b0f..87e2e6acd 100644
--- a/core/parse-xml.c
+++ b/core/parse-xml.c
@@ -2723,6 +2723,12 @@ extern int shearwater_dive(void *param, int columns, char **data, char **column)
utf8_string(data[9], &cur_settings.dc.serial_nr);
if (data[10]) {
switch (atoi(data[10])) {
+ case 2:
+ cur_settings.dc.model = strdup("Shearwater Petrel");
+ break;
+ case 4:
+ cur_settings.dc.model = strdup("Shearwater Predator");
+ break;
default:
cur_settings.dc.model = strdup("Shearwater import");
break;
@@ -2736,6 +2742,12 @@ 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");
+ break;
+ case 4:
+ cur_dive->dc.model = strdup("Shearwater Predator");
+ break;
default:
cur_dive->dc.model = strdup("Shearwater import");
break;