diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-10-28 13:17:12 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-10-28 13:17:12 -0700 |
commit | 601ac0c3624b1cdb3c1bb44b213d72eba400e642 (patch) | |
tree | 89f4f733c1470547161ed425bdbe2a9c790d45aa /uemis.c | |
parent | b63a5f0de6961dc483ec655c5046a3d833bf5227 (diff) | |
download | subsurface-601ac0c3624b1cdb3c1bb44b213d72eba400e642.tar.gz |
Display air temperature in the info notebook page
So far we don't parse air temperature data via libdivecomputer. Nor are we
set up to allow the user to manually enter it. We can parse it when
downloading from a Uemis Zurich, though.
This feature was suggested via trac.hohndel.org; this commit implements
only part of what is requested there, so I simply reference the ticket
here without closing it.
References ticket #7
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'uemis.c')
-rw-r--r-- | uemis.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -192,6 +192,8 @@ void uemis_parse_divelog_binary(char *base64, void *datap) { datalen = uemis_convert_base64(base64, &data); + dive->airtemp.mkelvin = *(uint16_t *)(data + 45) * 100 + 273150; + /* dive template in use: 0 = air 1 = nitrox (B) |