git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1711 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.1
Thierry Leconte, F4DWV 2004-03-21 18:26:46 +00:00
rodzic 47b20b7602
commit a914b9a676
1 zmienionych plików z 6 dodań i 5 usunięć

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib Kenwood backend - TM-V7 description * Hamlib Kenwood backend - TM-V7 description
* Copyright (c) 2004 by Stephane Fillod * 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 * This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as * it under the terms of the GNU Library General Public License as
@ -30,7 +30,6 @@
#include <unistd.h> /* UNIX standard function definitions */ #include <unistd.h> /* UNIX standard function definitions */
#include <hamlib/rig.h> #include <hamlib/rig.h>
#include "idx_builtin.h"
#include "kenwood.h" #include "kenwood.h"
#include "th.h" #include "th.h"
@ -55,7 +54,7 @@
#define RIG_TONEMAX 38 #define RIG_TONEMAX 38
#endif #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 #define ACKBUF_LEN 128
@ -100,8 +99,10 @@ const struct rig_caps tmv7_caps = {
.has_get_level = TMV7_LEVEL_ALL, .has_get_level = TMV7_LEVEL_ALL,
.has_set_level = RIG_LEVEL_SET(TMV7_LEVEL_ALL), .has_set_level = RIG_LEVEL_SET(TMV7_LEVEL_ALL),
.level_gran = { .level_gran = {
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 5 } }, [LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 7 } },
[LVL_SQL] = { .min = { .i = 0 }, .max = { .i = 5 } }, [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 = {}, .parm_gran = {},
.ctcss_list = kenwood38_ctcss_list, .ctcss_list = kenwood38_ctcss_list,