mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Bail out of deco calculation after 48h or dive time
With very low values of GFhigh and setting the last stop depth to 6m it is possible to create dives that need infintie decompression time. This ends deco after 48h and replaces the dive plan with an error message. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c477f56029
commit
63d98138b4
3 changed files with 21 additions and 6 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef PLANNER_H
|
||||
#define PLANNER_H
|
||||
|
||||
#define LONGDECO 1
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue