diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-01-15 16:54:59 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-01-15 17:31:27 -0800 |
commit | 189cba7fd2d6d3183af0a1f9ea9fae81890523dd (patch) | |
tree | ab0238ebf74fa4ba6b059620f09e03928d73b0f0 /packaging | |
parent | 417391a801e40d1abe5630a2a48e3e1b608d3b76 (diff) | |
download | subsurface-189cba7fd2d6d3183af0a1f9ea9fae81890523dd.tar.gz |
Add code to enter SAC rates for dive planning
This just provides the infrastructure to enter the data, nothing is
calculated, yet.
This adds a new get_thousandths() helper function so we can enter
information of the 'mili-' type as decimal values. So things like
"14.5 l/min" or "0.75 cuft/min" are parsed correctly and converted
into a ml value.
In the process of implementing that I also fixed a bug introduced in
commit ab7aecf16e96 ("Simplify dive planning code") which broke the
get_tenth() function.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging')
0 files changed, 0 insertions, 0 deletions