[PATCH] [datatrak.c] Add support for divemode if dive is SCR
Salvador Cuñat
salvador.cunat at gmail.com
Thu Mar 19 09:44:09 PDT 2015
Not necesary for OC as this is the default.
Signed-off-by: Salvador Cuñat <salvador.cunat at gmail.com>
---
datatrak.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/datatrak.c b/datatrak.c
index fc46ff4..2544eed 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;
}
/*
--
2.1.4
More information about the subsurface
mailing list