mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
cc8d601422
commit
61ff7c5f8b
3 changed files with 10 additions and 9 deletions
2
dive.h
2
dive.h
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue