From a914b9a676717916e297c1379b78200aad6d3fa3 Mon Sep 17 00:00:00 2001 From: "Thierry Leconte, F4DWV" Date: Sun, 21 Mar 2004 18:26:46 +0000 Subject: [PATCH] fix caps git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1711 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- kenwood/tmv7.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/kenwood/tmv7.c b/kenwood/tmv7.c index 35ee3e770..72c23eedc 100644 --- a/kenwood/tmv7.c +++ b/kenwood/tmv7.c @@ -2,7 +2,7 @@ * Hamlib Kenwood backend - TM-V7 description * Copyright (c) 2004 by Stephane Fillod * - * $Id: tmv7.c,v 1.2 2004-03-21 16:58:07 f4dwv Exp $ + * $Id: tmv7.c,v 1.3 2004-03-21 18:26:46 f4dwv 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 @@ -30,7 +30,6 @@ #include /* UNIX standard function definitions */ #include -#include "idx_builtin.h" #include "kenwood.h" #include "th.h" @@ -55,7 +54,7 @@ #define RIG_TONEMAX 38 #endif -#define RIG_VFO_A_OP (RIG_OP_UP|RIG_OP_DOWN) +#define RIG_VFO_A_OP (RIG_OP_UP|RIG_OP_DOWN|RIG_OP_TO_VFO) #define ACKBUF_LEN 128 @@ -100,8 +99,10 @@ const struct rig_caps tmv7_caps = { .has_get_level = TMV7_LEVEL_ALL, .has_set_level = RIG_LEVEL_SET(TMV7_LEVEL_ALL), .level_gran = { - [LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 5 } }, - [LVL_SQL] = { .min = { .i = 0 }, .max = { .i = 5 } }, + [LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 7 } }, + [LVL_SQL] = { .min = { .i = 0 }, .max = { .i = 32 } }, + [LVL_AF] = { .min = { .i = 0 }, .max = { .i = 32 } }, + [LVL_RFPOWER] = { .min = { .i = 3 }, .max = { .i = 0 } }, }, .parm_gran = {}, .ctcss_list = kenwood38_ctcss_list,