mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Use 10ft as deco step size in imperial units in profile
The calculation of the deco steps shown in the profile infobox is somewhat independent of the planner. When set to imperial units, the distance between deco stops should be 10ft rather than 3m as 15m is only 49ft. Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
parent
bdeeba4a67
commit
34b61ad288
1 changed files with 1 additions and 1 deletions
|
@ -849,7 +849,7 @@ static void calculate_ndl_tts(struct deco_state *ds, const struct dive *dive, st
|
|||
const int ascent_s_per_deco_step = 1;
|
||||
/* how long time steps in deco calculations? */
|
||||
const int time_stepsize = 60;
|
||||
const int deco_stepsize = 3000;
|
||||
const int deco_stepsize = M_OR_FT(3, 10);
|
||||
/* at what depth is the current deco-step? */
|
||||
int next_stop = ROUND_UP(deco_allowed_depth(
|
||||
tissue_tolerance_calc(ds, dive, depth_to_bar(entry->depth, dive), in_planner),
|
||||
|
|
Loading…
Add table
Reference in a new issue