Only do safety stop of dive has at least max depth of 10m

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-04-02 10:49:24 +02:00 committed by Dirk Hohndel
parent cc8d601422
commit 61ff7c5f8b
3 changed files with 10 additions and 9 deletions

2
dive.h
View file

@ -872,7 +872,7 @@ extern depth_t string_to_depth(const char *str);
extern pressure_t string_to_pressure(const char *str);
extern volume_t string_to_volume(const char *str, pressure_t workp);
extern fraction_t string_to_fraction(const char *str);
extern int average_depth(struct diveplan *dive);
extern void average_max_depth(struct diveplan *dive, int *avg_depth, int *max_depth);
#include "pref.h"