diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-07-09 22:13:36 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-09 13:22:00 -0700 |
commit | 848a5352c7afedd530186ae842719e8f67c8c66a (patch) | |
tree | 304260e9a579133fc96d08395ee05c224a2a2ae2 /parse-xml.c | |
parent | 72aeb53e191c1e717aa0216387149b925cb3d52f (diff) | |
download | subsurface-848a5352c7afedd530186ae842719e8f67c8c66a.tar.gz |
Add support divecomputer based TTS
Since earlier have we had support for our own calculated TTS. This adds
support for holding TTS values reported by a dive computer.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'parse-xml.c')
-rw-r--r-- | parse-xml.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/parse-xml.c b/parse-xml.c index 01599d61a..5375e3202 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -850,6 +850,8 @@ static void try_to_fill_sample(struct sample *sample, const char *name, char *bu return; if (MATCH("ndl.sample", sampletime, &sample->ndl)) return; + if (MATCH("tts.sample", sampletime, &sample->tts)) + return; if (MATCH("in_deco.sample", get_index, &in_deco)) { sample->in_deco = (in_deco == 1); return; |