From 850917d41d7745f6e9d16bc856af4a91ca0518e2 Mon Sep 17 00:00:00 2001 From: Seppo Takalo Date: Wed, 13 Sep 2017 17:46:41 +0300 Subject: Don't assume CCR mode when importing from Shearwater Logic was assuming CCR mode if field "averagePPO2" was present. Signed-off-by: Seppo Takalo --- core/parse-xml.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'core/parse-xml.c') 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; -- cgit v1.2.3-70-g09d2