summaryrefslogtreecommitdiffstats
path: root/datatrak.c
diff options
context:
space:
mode:
authorGravatar Salvador Cuñat <salvador.cunat@gmail.com>2015-03-19 17:44:09 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-19 11:19:40 -0700
commitf1ab6dd38688d3e98123c22e073c9be32f802db7 (patch)
tree5dffc1f2b142fa22afd0755a5741448ebbba615b /datatrak.c
parent6a5279b952ec4d227078a67526e7ebdfb4523891 (diff)
downloadsubsurface-f1ab6dd38688d3e98123c22e073c9be32f802db7.tar.gz
Add support for divemode if dive is SCR
Not necesary for OC as this is the default. Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'datatrak.c')
-rw-r--r--datatrak.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/datatrak.c b/datatrak.c
index fc46ff48f..2544eedac 100644
--- a/datatrak.c
+++ b/datatrak.c
@@ -404,6 +404,7 @@ static struct dive dt_dive_parser(FILE *archivo, struct dive *dt_dive)
if (byte[1] != 0) {
taglist_add_tag(&dt_dive->tag_list, strdup("rebreather"));
is_SCR = 1;
+ dt_dive->dc.divemode = PSCR;
}
/*