From c3120638f63eb12334277e13084b2131d8f8513b Mon Sep 17 00:00:00 2001 From: Michael Black Date: Thu, 12 Mar 2020 16:39:52 -0500 Subject: [PATCH] Increase RIGLSTHASHSZ to 2X maximum rig# --- src/register.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/register.c b/src/register.c index 1f8f50b26..6412a9716 100644 --- a/src/register.c +++ b/src/register.c @@ -158,7 +158,7 @@ struct rig_list // This size has to be > than the max# of rigs for any manufacturer // A fatal error will occur when running rigctl if this value is too small -#define RIGLSTHASHSZ 256 +#define RIGLSTHASHSZ 65535 #define HASH_FUNC(a) ((a)%RIGLSTHASHSZ)