git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1630 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.0
Stéphane Fillod, F8CFE 2003-12-08 08:46:11 +00:00
rodzic 01bd70bdc1
commit 02e5735c72
23 zmienionych plików z 61 dodań i 57 usunięć

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib Alinco backend - DX77 description
* Copyright (c) 2001-2003 by Stephane Fillod
*
* $Id: dx77.c,v 1.8 2003-11-16 17:14:42 fillods Exp $
* $Id: dx77.c,v 1.9 2003-12-08 08:37:39 fillods 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
@ -104,7 +104,7 @@ const struct rig_caps dx77_caps = {
.has_get_parm = DX77_PARM_ALL,
.has_set_parm = RIG_PARM_SET(DX77_PARM_ALL),
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 255,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
},
.parm_gran = {},
.ctcss_list = common_ctcss_list,

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib Dummy backend - main file
* Copyright (c) 2001-2003 by Stephane Fillod
*
* $Id: dummy.c,v 1.36 2003-11-16 17:20:35 fillods Exp $
* $Id: dummy.c,v 1.37 2003-12-08 08:37:05 fillods 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
@ -1039,7 +1039,7 @@ const struct rig_caps dummy_caps = {
.has_set_level = RIG_LEVEL_SET(DUMMY_LEVEL),
.has_get_parm = DUMMY_PARM,
.has_set_parm = RIG_PARM_SET(DUMMY_PARM),
.level_gran = { [LVL_CWPITCH].step.i = 10 },
.level_gran = { [LVL_CWPITCH] = { .step = { .i = 10 } } },
.ctcss_list = common_ctcss_list,
.dcs_list = full_dcs_list,
.chan_list = {

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib CI-V backend - description of IC-703
* Copyright (c) 2000-2003 by Stephane Fillod
*
* $Id: ic703.c,v 1.2 2003-11-16 17:14:43 fillods Exp $
* $Id: ic703.c,v 1.3 2003-12-08 08:33:57 fillods 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
@ -111,7 +111,7 @@ const struct rig_caps ic703_caps = {
.has_get_parm = RIG_PARM_NONE,
.has_set_parm = RIG_PARM_NONE, /* FIXME: parms */
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 255,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
},
.parm_gran = {},
.ctcss_list = common_ctcss_list,
@ -129,7 +129,7 @@ const struct rig_caps ic703_caps = {
.chan_desc_sz = 0,
.chan_list = {
{ 1, 99, RIG_MTYPE_MEM, IC_MEM_CAP },
{ 1, 99, RIG_MTYPE_MEM },
{ 100, 105, RIG_MTYPE_EDGE }, /* two by two */
{ 106, 107, RIG_MTYPE_CALL },
RIG_CHAN_END,

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib CI-V backend - description of IC-706 and variations
* Copyright (c) 2000-2003 by Stephane Fillod
*
* $Id: ic706.c,v 1.34 2003-12-04 23:23:29 fillods Exp $
* $Id: ic706.c,v 1.35 2003-12-08 08:33:57 fillods 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
@ -421,7 +421,7 @@ const struct rig_caps ic706mkiig_caps = {
.has_get_parm = RIG_PARM_NONE,
.has_set_parm = RIG_PARM_NONE, /* FIXME: parms */
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 255,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
},
.parm_gran = {},
.ctcss_list = common_ctcss_list,

Wyświetl plik

@ -3,7 +3,7 @@
* Copyright (c) 2000-2003 by Stephane Fillod
* Caps submitted by Chuck Gilkes WD0FCL/4
*
* $Id: ic718.c,v 1.6 2003-11-16 17:14:43 fillods Exp $
* $Id: ic718.c,v 1.7 2003-12-08 08:33:57 fillods 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
@ -89,7 +89,7 @@ const struct rig_caps ic718_caps = {
.has_get_parm = RIG_PARM_NONE,
.has_set_parm = RIG_PARM_NONE, /* FIXME: parms */
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 255,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
},
.parm_gran = {},
.ctcss_list = common_ctcss_list,

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib CI-V backend - description of IC-746 and variations
* Copyright (c) 2000-2003 by Stephane Fillod
*
* $Id: ic746.c,v 1.2 2003-11-16 17:24:34 fillods Exp $
* $Id: ic746.c,v 1.3 2003-12-08 08:33:58 fillods 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
@ -128,7 +128,7 @@ const struct rig_caps ic746_caps = {
.has_get_parm = RIG_PARM_NONE,
.has_set_parm = RIG_PARM_NONE, /* FIXME: parms */
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 255,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
},
.parm_gran = {},
.ctcss_list = common_ctcss_list,
@ -282,7 +282,7 @@ const struct rig_caps ic746pro_caps = {
.has_get_parm = RIG_PARM_NONE,
.has_set_parm = RIG_PARM_NONE, /* FIXME: parms */
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 255,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
},
.parm_gran = {},
.ctcss_list = common_ctcss_list,

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib CI-V backend - description of IC-756 and variations
* Copyright (c) 2000-2003 by Stephane Fillod
*
* $Id: ic756.c,v 1.8 2003-11-16 17:24:34 fillods Exp $
* $Id: ic756.c,v 1.9 2003-12-08 08:33:58 fillods 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
@ -115,7 +115,7 @@ const struct rig_caps ic756_caps = {
.has_get_parm = RIG_PARM_NONE,
.has_set_parm = RIG_PARM_NONE, /* FIXME: parms */
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 255,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
},
.parm_gran = {},
.ctcss_list = common_ctcss_list,
@ -258,7 +258,7 @@ const struct rig_caps ic756pro_caps = {
.has_get_parm = RIG_PARM_NONE,
.has_set_parm = RIG_PARM_NONE, /* FIXME: parms */
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 255,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
},
.parm_gran = {},
.ctcss_list = common_ctcss_list,
@ -441,7 +441,7 @@ const struct rig_caps ic756pro2_caps = {
.has_get_parm = RIG_PARM_NONE,
.has_set_parm = RIG_PARM_NONE, /* FIXME: parms */
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 255,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
},
.parm_gran = {},
.extparms = ic756pro2_ext_parms,

Wyświetl plik

@ -3,7 +3,7 @@
* Contributed by Francois Retief <fgretief@sun.ac.za>
* Copyright (c) 2000-2003 by Stephane Fillod
*
* $Id: ic910.c,v 1.9 2003-11-16 17:14:43 fillods Exp $
* $Id: ic910.c,v 1.10 2003-12-08 08:33:58 fillods 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
@ -234,7 +234,7 @@ const struct rig_caps ic910_caps = {
.has_get_parm = RIG_PARM_NONE,
.has_set_parm = RIG_PARM_NONE,
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 255,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
},
.parm_gran = {},
.ctcss_list = NULL,

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib CI-V backend - description of IC-R10
* Copyright (c) 2000-2003 by Stephane Fillod
*
* $Id: icr10.c,v 1.1 2003-11-16 16:58:35 fillods Exp $
* $Id: icr10.c,v 1.2 2003-12-08 08:33:58 fillods 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
@ -84,7 +84,7 @@ const struct rig_caps icr10_caps = {
.has_get_parm = RIG_PARM_NONE,
.has_set_parm = RIG_PARM_NONE, /* FIXME: parms */
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 255,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
},
.parm_gran = {},
.ctcss_list = NULL,

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib CI-V backend - IC-R7000 and IC-R7100 descriptions
* Copyright (c) 2000-2003 by Stephane Fillod
*
* $Id: icr7000.c,v 1.7 2003-11-16 17:29:16 fillods Exp $
* $Id: icr7000.c,v 1.8 2003-12-08 08:33:58 fillods 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
@ -199,7 +199,7 @@ const struct rig_caps icr7100_caps = {
.has_get_parm = ICR7100_PARMS,
.has_set_parm = RIG_PARM_SET(ICR7100_PARMS),
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 255,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
},
.parm_gran = {},
.ctcss_list = NULL,

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib CI-V backend - description of IC-R75
* Copyright (c) 2000-2003 by Stephane Fillod
*
* $Id: icr75.c,v 1.1 2003-11-16 16:58:35 fillods Exp $
* $Id: icr75.c,v 1.2 2003-12-08 08:33:58 fillods 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
@ -116,7 +116,7 @@ const struct rig_caps icr75_caps = {
.has_get_parm = RIG_PARM_ANN,
.has_set_parm = RIG_PARM_ANN, /* FIXME: parms */
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 255,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
},
.parm_gran = {},
.ctcss_list = NULL,

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib CI-V backend - IC-R8500 description
* Copyright (c) 2000-2002 by Stephane Fillod
*
* $Id: icr8500.c,v 1.18 2003-11-16 17:14:43 fillods Exp $
* $Id: icr8500.c,v 1.19 2003-12-08 08:33:58 fillods 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
@ -77,7 +77,7 @@ const struct rig_caps icr8500_caps = {
.has_get_parm = RIG_PARM_NONE,
.has_set_parm = RIG_PARM_NONE, /* FIXME: parms */
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 255,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
},
.parm_gran = {},
.ctcss_list = NULL, /* FIXME: CTCSS/DCS list */

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib CI-V backend - IC-R9000 descriptions
* Copyright (c) 2000-2003 by Stephane Fillod
*
* $Id: icr9000.c,v 1.1 2003-11-16 16:58:35 fillods Exp $
* $Id: icr9000.c,v 1.2 2003-12-08 08:33:58 fillods 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
@ -91,7 +91,7 @@ const struct rig_caps icr9000_caps = {
.has_get_parm = ICR9000_PARMS,
.has_set_parm = RIG_PARM_SET(ICR9000_PARMS),
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 255,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
},
.parm_gran = {},
.ctcss_list = NULL,

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib CI-V backend - description of ID-1 and variations
* Copyright (c) 2000-2003 by Stephane Fillod
*
* $Id: id1.c,v 1.1 2003-11-16 16:58:35 fillods Exp $
* $Id: id1.c,v 1.2 2003-12-08 08:33:58 fillods 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
@ -102,7 +102,7 @@ const struct rig_caps id1_caps = {
.has_get_parm = ID1_PARM_ALL,
.has_set_parm = ID1_PARM_ALL,
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 255,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
},
.parm_gran = {},
.ctcss_list = common_ctcss_list,
@ -120,9 +120,9 @@ const struct rig_caps id1_caps = {
.chan_desc_sz = 0,
.chan_list = {
{ 1, 99, RIG_MTYPE_MEM, IC_MEM_CAP },
{ 100, 101, RIG_MTYPE_EDGE, IC_MEM_CAP }, /* two by two */
{ 102, 104, RIG_MTYPE_CALL, IC_MEM_CAP },
{ 1, 99, RIG_MTYPE_MEM },
{ 100, 101, RIG_MTYPE_EDGE }, /* two by two */
{ 102, 104, RIG_MTYPE_CALL },
RIG_CHAN_END,
},

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib CI-V backend - description of the OptoScan456
* Copyright (c) 2000-2003 by Stephane Fillod and Michael Smith
*
* $Id: os456.c,v 1.9 2003-11-16 17:14:43 fillods Exp $
* $Id: os456.c,v 1.10 2003-12-08 08:33:58 fillods 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
@ -100,7 +100,7 @@ const struct rig_caps os456_caps = {
.has_get_parm = RIG_PARM_NONE,
.has_set_parm = RIG_PARM_NONE,
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 255,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
},
.parm_gran = {},
.ctcss_list = full_ctcss_list,

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib CI-V backend - description of the OptoScan535
* Copyright (c) 2000-2003 by Stephane Fillod
*
* $Id: os535.c,v 1.8 2003-11-16 17:14:43 fillods Exp $
* $Id: os535.c,v 1.9 2003-12-08 08:33:58 fillods 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
@ -92,7 +92,7 @@ const struct rig_caps os535_caps = {
.has_get_parm = RIG_PARM_NONE,
.has_set_parm = RIG_PARM_NONE,
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 255,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
},
.parm_gran = {},
.ctcss_list = full_ctcss_list,
@ -154,7 +154,6 @@ const struct rig_caps os535_caps = {
.get_mode = icom_get_mode,
.set_vfo = icom_set_vfo,
.get_level = icom_get_level,
.get_dcd = icom_get_dcd,
.decode_event = icom_decode_event,

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib JRC backend - NRD-535 DSP description
* Copyright (c) 2001-2003 by Stephane Fillod
*
* $Id: nrd535.c,v 1.1 2003-11-16 16:58:35 fillods Exp $
* $Id: nrd535.c,v 1.2 2003-12-08 08:39:05 fillods 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
@ -102,7 +102,7 @@ const struct rig_caps nrd535_caps = {
.has_get_parm = RIG_PARM_TIME,
.has_set_parm = RIG_PARM_SET(NRD535_PARM),
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 255,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
},
.parm_gran = {},
.ctcss_list = NULL,

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib JRC backend - NRD-545 DSP description
* Copyright (c) 2001-2003 by Stephane Fillod
*
* $Id: nrd545.c,v 1.6 2003-11-16 17:14:43 fillods Exp $
* $Id: nrd545.c,v 1.7 2003-12-08 08:39:06 fillods 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
@ -83,7 +83,7 @@ const struct rig_caps nrd545_caps = {
.has_get_parm = RIG_PARM_TIME,
.has_set_parm = RIG_PARM_SET(NRD545_PARM),
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 255,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
},
.parm_gran = {},
.ctcss_list = NULL,

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib Kenwood backend - TH-G71 description
* Copyright (c) 2003 by Stephane Fillod
*
* $Id: thg71.c,v 1.7 2003-12-04 20:45:30 f4dwv Exp $
* $Id: thg71.c,v 1.8 2003-12-08 08:36:31 fillods 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
@ -117,8 +117,8 @@ const struct rig_caps thg71_caps = {
.has_get_level = THG71_LEVEL_ALL,
.has_set_level = RIG_LEVEL_SET(THG71_LEVEL_ALL),
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 5,
[LVL_SQL].min.i = 0, [LVL_RAWSTR].max.i = 5,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 5 } },
[LVL_SQL] = { .min = { .i = 0 }, .max = { .i = 5 } },
},
.parm_gran = {},
.ctcss_list = kenwood38_ctcss_list,

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib TenTenc backend - TT-550 PC-Radio description
* Copyright (c) 2002-2003 by Stephane Fillod
*
* $Id: pegasus.c,v 1.4 2003-11-16 17:14:44 fillods Exp $
* $Id: pegasus.c,v 1.5 2003-12-08 08:38:18 fillods 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
@ -90,7 +90,7 @@ const struct rig_caps tt550_caps = {
.has_get_parm = RIG_PARM_NONE,
.has_set_parm = RIG_PARM_NONE,
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 99999,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 99999 } },
},
.parm_gran = {},
.ctcss_list = NULL,

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib TenTenc backend - RX-320 PC-Radio description
* Copyright (c) 2001-2003 by Stephane Fillod
*
* $Id: rx320.c,v 1.5 2003-11-16 17:14:44 fillods Exp $
* $Id: rx320.c,v 1.6 2003-12-08 08:38:18 fillods 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
@ -83,7 +83,7 @@ const struct rig_caps rx320_caps = {
.has_get_parm = RIG_PARM_NONE,
.has_set_parm = RIG_PARM_NONE,
.level_gran = {
[LVL_RAWSTR].min.i = 0, [LVL_RAWSTR].max.i = 99999,
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 99999 } },
},
.parm_gran = {},
.ctcss_list = NULL,

Wyświetl plik

@ -4,7 +4,7 @@
* This program exercises the backup and restore of a radio
* using Hamlib. CSV primitives
*
* $Id: memcsv.c,v 1.1 2003-12-04 23:15:02 fillods Exp $
* $Id: memcsv.c,v 1.2 2003-12-08 08:46:11 fillods Exp $
*
*
* This program is free software; you can redistribute it and/or
@ -154,10 +154,12 @@ int csv_parm_save (RIG *rig, const char *outfilename)
fprintf(f, "\n");
for (i = 0; i < RIG_SETTING_MAX; i++) {
parm = get_parm & rig_idx2setting(i);
const char *ms = strparm(parm);
const char *ms;
value_t val;
parm = get_parm & rig_idx2setting(i);
ms = strparm(parm);
if (!ms || !ms[0])
continue;
ret = rig_get_parm(rig, parm, &val);

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib Interface - sprintf toolbox
* Copyright (c) 2000-2003 by Stephane Fillod and Frank Singleton
*
* $Id: sprintflst.c,v 1.2 2003-12-04 23:18:49 fillods Exp $
* $Id: sprintflst.c,v 1.3 2003-12-08 08:42:11 fillods 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
@ -133,9 +133,11 @@ int sprintf_level_gran(char *str, setting_t level, const gran_t gran[])
return 0;
for (i = 0; i < RIG_SETTING_MAX; i++) {
const char *ms;
if (!(level & rig_idx2setting(i)))
continue;
const char *ms = strlevel(level & rig_idx2setting(i));
ms = strlevel(level & rig_idx2setting(i));
if (!ms || !ms[0]) {
if (level != DUMMY_ALL && level != RIG_LEVEL_SET(DUMMY_ALL))
rig_debug(RIG_DEBUG_BUG, "unkown level idx %d\n", i);
@ -180,9 +182,10 @@ int sprintf_parm_gran(char *str, setting_t parm, const gran_t gran[])
return 0;
for (i = 0; i < RIG_SETTING_MAX; i++) {
const char *ms;
if (!(parm & rig_idx2setting(i)))
continue;
const char *ms = strparm(parm & rig_idx2setting(i));
ms = strparm(parm & rig_idx2setting(i));
if (!ms || !ms[0]) {
if (parm != DUMMY_ALL && parm != RIG_PARM_SET(DUMMY_ALL))
rig_debug(RIG_DEBUG_BUG, "unkown parm idx %d\n", i);