diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2011-09-15 09:10:08 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-15 09:33:13 -0700 |
commit | efb1fa44b81419841d7c92104a69987c256a0028 (patch) | |
tree | 4ce7bda83b774a3587dd78725cb213823b5d9f95 /save-xml.c | |
parent | b49c878a74c7232994efba4bf56d309d8d224821 (diff) | |
download | subsurface-efb1fa44b81419841d7c92104a69987c256a0028.tar.gz |
Print the end temperature of the dive
Currently we print the temperature every five minutes. Especially with
dive computers that keep rather frequent temperature samples that means
that we have one more interesting data point that we don't label: the
surface temperature at the end of the dive.
This patch adds some logic to try to print the last temperature sample
that was recorded before the dive ended - unless that same value has
already been printed (to avoid silly duplications on dive computers with
less frequent sampling)
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'save-xml.c')
0 files changed, 0 insertions, 0 deletions