summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-15 16:54:59 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-15 17:31:27 -0800
commit189cba7fd2d6d3183af0a1f9ea9fae81890523dd (patch)
treeab0238ebf74fa4ba6b059620f09e03928d73b0f0 /packaging
parent417391a801e40d1abe5630a2a48e3e1b608d3b76 (diff)
downloadsubsurface-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