diff options
author | Rick Walsh <rickmwalsh@gmail.com> | 2015-07-04 23:10:34 +1000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-05 06:50:48 -0700 |
commit | 17ef6774e050fd4974d13d1a75d1d8d607de34c0 (patch) | |
tree | f64142396f0534d11292fbfffa1aec8ab9f962e7 /git-access.h | |
parent | 8c4e1e6bfadaaa90c3f084c606a4ddf0bd30a95b (diff) | |
download | subsurface-17ef6774e050fd4974d13d1a75d1d8d607de34c0.tar.gz |
Planner deco stops are at 10ft increments when measured in feet
When using feet as depth unit, deco stop levels should be at 10 ft rather
than 3 m increments.
For shallow stops, rounding means the difference is not apparent. However,
with stops deeper than 30 feet, using 3 m increments leads stops at 39ft,
49ft, ..., 98ft, etc.
Apart from making plans look messy, the old behaviour makes it harder to
benchmark the planner against published profiles in imperial units.
This revised patch uses the help macro M_OR_FT(6, 20) to set the last stop
at the correct depth.
Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'git-access.h')
0 files changed, 0 insertions, 0 deletions