From ba72f43e7fd4ce7c9f210cad9a6fcabdf45ccf88 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 28 Dec 2013 07:33:09 -0800 Subject: [PATCH] Allow tracking of more weight systems I never imagined that people would want to track more than 4 weightsystems, but we just had an enhancement request from a user who tried to enter a 5th system. Let's hope 6 is enough for everyone. Fixes #383 Signed-off-by: Dirk Hohndel --- dive.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dive.h b/dive.h index 4f9b29509..dab4409da 100644 --- a/dive.h +++ b/dive.h @@ -367,7 +367,7 @@ struct divecomputer { }; #define MAX_CYLINDERS (8) -#define MAX_WEIGHTSYSTEMS (4) +#define MAX_WEIGHTSYSTEMS (6) #define W_IDX_PRIMARY 0 #define W_IDX_SECONDARY 1