diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/parse-xml.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/parse-xml.c b/core/parse-xml.c index fa1fc4fdb..b2a06bb21 100644 --- a/core/parse-xml.c +++ b/core/parse-xml.c @@ -2746,7 +2746,6 @@ extern int shearwater_profile_sample(void *handle, int columns, char **data, cha cur_sample->temperature.mkelvin = metric ? C_to_mkelvin(atof(data[2])) : F_to_mkelvin(atof(data[2])); if (data[3]) { cur_sample->setpoint.mbar = lrint(atof(data[3]) * 1000); - cur_dive->dc.divemode = CCR; } if (data[4]) cur_sample->ndl.seconds = atoi(data[4]) * 60; @@ -2780,7 +2779,6 @@ extern int shearwater_ai_profile_sample(void *handle, int columns, char **data, cur_sample->temperature.mkelvin = metric ? C_to_mkelvin(atof(data[2])) : F_to_mkelvin(atof(data[2])); if (data[3]) { cur_sample->setpoint.mbar = lrint(atof(data[3]) * 1000); - cur_dive->dc.divemode = CCR; } if (data[4]) cur_sample->ndl.seconds = atoi(data[4]) * 60; |