aboutsummaryrefslogtreecommitdiffstats
path: root/divelist.c
diff options
context:
space:
mode:
authorGravatar Rick Walsh <rickmwalsh@gmail.com>2015-07-04 23:10:34 +1000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-05 06:50:48 -0700
commit17ef6774e050fd4974d13d1a75d1d8d607de34c0 (patch)
treef64142396f0534d11292fbfffa1aec8ab9f962e7 /divelist.c
parent8c4e1e6bfadaaa90c3f084c606a4ddf0bd30a95b (diff)
downloadsubsurface-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 'divelist.c')
0 files changed, 0 insertions, 0 deletions