diff options
author | Gaetan Bisson <bisson@archlinux.org> | 2014-07-14 20:03:10 -1000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-15 04:05:53 -0700 |
commit | d65226865564f5589b0dbdcb5e8d2c83720a4727 (patch) | |
tree | 63d317d5e1b625d795bf062674fa4644ee4c89f5 /divecomputer.h | |
parent | dff92f188a811f13a0d8008439cc6f4264b44a89 (diff) | |
download | subsurface-d65226865564f5589b0dbdcb5e8d2c83720a4727.tar.gz |
Planner: Report CNS and OTU
In add_plan_to_notes(), call update_cylinder_related_info() to compute
CNS and OTU data for the planned dive. Report their values in the notes.
Besides CNS and OTU, update_cylinder_related_info() also recomputes the
SAC, which is harmless. Note that both dive->cns and dive->maxcns need
to be zeroed out for the CNS value to actually be recomputed.
Signed-off-by: Gaetan Bisson <bisson@archlinux.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divecomputer.h')
0 files changed, 0 insertions, 0 deletions