From e2110f298e8ceb5578a86c747286d72f5e26eb9e Mon Sep 17 00:00:00 2001 From: "Nate Bargmann, N0NB" Date: Fri, 22 Sep 2006 14:31:19 +0000 Subject: [PATCH] 20060922: Update: Applied July 30, 2006 patches from Kent Hill, AD7AI git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2114 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- ChangeLog | 6 ++++-- include/hamlib/rig.h | 4 ++-- tests/rigctl.c | 4 ++-- tests/rigmatrix.c | 14 +++++++------- 4 files changed, 15 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index ad796b394..131084b59 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ -2006-07-03 KHill +2006-07-30 AD7AI - * + * RIG_SETTING_MAX changed back to 32 and rigctl and rigmatrix corrected to reflect 32 + bit words per readme.developer. Rigmatrix could use a little more testing, but seems to + work ok. 2006-07-03 KHill diff --git a/include/hamlib/rig.h b/include/hamlib/rig.h index 9dcef8278..384a8e923 100644 --- a/include/hamlib/rig.h +++ b/include/hamlib/rig.h @@ -2,7 +2,7 @@ * Hamlib Interface - API header * Copyright (c) 2000-2005 by Stephane Fillod and Frank Singleton * - * $Id: rig.h,v 1.112 2006-07-18 22:51:42 n0nb Exp $ + * $Id: rig.h,v 1.113 2006-09-22 14:31:19 n0nb Exp $ * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as @@ -627,7 +627,7 @@ enum rig_parm_e { #define RIG_PARM_IS_FLOAT(l) ((l)&RIG_PARM_FLOAT_LIST) #define RIG_PARM_SET(l) ((l)&~RIG_PARM_READONLY_LIST) -#define RIG_SETTING_MAX 64 +#define RIG_SETTING_MAX 32 /** * \brief Setting * diff --git a/tests/rigctl.c b/tests/rigctl.c index 8e31571b0..9457c2cac 100644 --- a/tests/rigctl.c +++ b/tests/rigctl.c @@ -5,7 +5,7 @@ * It takes commands in interactive mode as well as * from command line options. * - * $Id: rigctl.c,v 1.59 2006-07-18 22:51:43 n0nb Exp $ + * $Id: rigctl.c,v 1.60 2006-09-22 14:31:19 n0nb Exp $ * * * This program is free software; you can redistribute it and/or @@ -1695,7 +1695,7 @@ void dump_chan(RIG *rig, channel_t *chan) printf("Functions: %s\n", prntbuf); printf("Levels:"); - for (idx=0; idx<60; idx++) { + for (idx=0; idx