Get rid of is_ok_vpmb

Since a8ce8, that made deco_allowed_depth work for VPM-B as well, this
function became obsolete but was reintroduced by one of Jan's latest patches.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Robert C. Helling 2015-08-18 09:13:39 +02:00 committed by Dirk Hohndel
parent 159c9eb2c1
commit 4e89a6020e
3 changed files with 0 additions and 20 deletions

View file

@ -898,10 +898,6 @@ bool trial_ascent(int trial_depth, int stoplevel, int avg_depth, int bottom_time
clear_to_ascend = false;
break;
}
if (prefs.deco_mode == VPMB && (!is_vpmb_ok(depth_to_mbar(trial_depth - deltad, &displayed_dive) / 1000.0))){
clear_to_ascend = false;
break;
}
trial_depth -= deltad;
}
restore_deco_state(trial_cache);