level_gran caps fix

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1762 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.2
Stéphane Fillod, F8CFE 2004-06-14 21:12:14 +00:00
rodzic efa8e51c8b
commit b6b0c7ae88
1 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib TenTenc backend - RX-320 PC-Radio description
* Copyright (c) 2001-2003 by Stephane Fillod
* Copyright (c) 2001-2004 by Stephane Fillod
*
* $Id: rx320.c,v 1.6 2003-12-08 08:38:18 fillods Exp $
* $Id: rx320.c,v 1.7 2004-06-14 21:12:14 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
@ -33,6 +33,7 @@
#define RX320_MODES (RIG_MODE_AM|RIG_MODE_CW|RIG_MODE_SSB)
/* TODO: LINEOUT */
#define RX320_LEVELS (RIG_LEVEL_AGC|RIG_LEVEL_AF|RIG_LEVEL_RAWSTR)
#define RX320_VFO (RIG_VFO_A)
@ -58,7 +59,7 @@ const struct rig_caps rx320_caps = {
.rig_model = RIG_MODEL_RX320,
.model_name = "RX-320",
.mfg_name = "Ten-Tec",
.version = "0.1",
.version = "0.2",
.copyright = "LGPL",
.status = RIG_STATUS_UNTESTED,
.rig_type = RIG_TYPE_PCRECEIVER,
@ -84,6 +85,7 @@ const struct rig_caps rx320_caps = {
.has_set_parm = RIG_PARM_NONE,
.level_gran = {
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 99999 } },
[LVL_AF] = { .step = { .f = 1.0/64 } },
},
.parm_gran = {},
.ctcss_list = NULL,