summaryrefslogtreecommitdiffstats
path: root/gtk-gui.c
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2013-03-08 21:44:10 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-03-08 11:54:11 -0800
commite362272edcf026150ea350efbf9713b406e9326e (patch)
tree89865bdea74bd63266bd63b5aa7d59410b11618f /gtk-gui.c
parentb5cd46aa3991d9e56aa0ca25125f5e7d1c1f15c2 (diff)
downloadsubsurface-e362272edcf026150ea350efbf9713b406e9326e.tar.gz
Use information from proper table on DM4 import
Seems that DM4 has useless cylinder size data on global level and real data on DiveMixture table. So using the correct data instead of the global un-used value. Similarly the DiveMixture table contains cylinder pressures. However, it appears this information is available on DiveMixture table only in some cases. So we use start and end pressures from DM table if available, otherwise we use the global pressures. (My guess is that the DM table has the pressure info only when the pressure has dropped from the initial pressure reading that is reported in Dive table before the dive is considered to have started.) Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gtk-gui.c')
0 files changed, 0 insertions, 0 deletions