Saving air temperature

Lubomir I. Ivanov neolit123 at gmail.com
Thu Feb 14 07:40:40 PST 2013


On 14 February 2013 16:31, Sergey Starosek <sergey.starosek at gmail.com> wrote:
> Hi,
>
> Seems that air temperature saving is broken. If you edit the dive, modify
> air temp, press Ok, and the reopen for edit, one can see these changes.
> But it's neither shown on the 'Dive Info' tab, nor saved to the XML. If this
> information is supposed to be downloaded from DC, then editing air temp
> should not modify dive (or better disable this edit box).
>

i've just sent a patch for this named:
[PATCH] Store user entered 'airtemp' values in the 'divecomputer' struct

but i'm not sure if this is desired, as currently there are couple of
places to store air temp.
i'm guessing that the 'dc' airtemp is a value that can be retrived
from a DC, and perhaps the
user value should only be stored directly in the dive struct. then
again save-xml.c and statistics.c
seem to be only interested in the DC value. some additional logic may
be required here.

lubomir
--


More information about the subsurface mailing list