From f1c2cd375e295730d92e23093e44777baf838f1d Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Thu, 30 May 2019 20:57:32 +0200 Subject: Cleanup: move TRIP_THRESHOLD into divelist.c This macro was not used elsewhere. Signed-off-by: Berthold Stoeger --- core/dive.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'core/dive.h') diff --git a/core/dive.h b/core/dive.h index 8f9c95e94..7259575cc 100644 --- a/core/dive.h +++ b/core/dive.h @@ -303,10 +303,6 @@ extern depth_t gas_mnd(struct gasmix mix, depth_t end, const struct dive *dive, #define SURFACE_THRESHOLD 750 /* somewhat arbitrary: only below 75cm is it really diving */ extern bool autogroup; -/* random threashold: three days without diving -> new trip - * this works very well for people who usually dive as part of a trip and don't - * regularly dive at a local facility; this is why trips are an optional feature */ -#define TRIP_THRESHOLD 3600 * 24 * 3 extern void add_dive_to_trip(struct dive *, dive_trip_t *); -- cgit v1.2.3-70-g09d2