kopia lustrzana https://github.com/Hamlib/Hamlib
Remove dead ic10 references
rodzic
0e3e308cb5
commit
243a35d126
|
@ -22,7 +22,7 @@
|
||||||
#ifndef _IC10_H
|
#ifndef _IC10_H
|
||||||
#define _IC10_H 1
|
#define _IC10_H 1
|
||||||
|
|
||||||
#define IC10_VER ".1"
|
#define IC10_VER ".2"
|
||||||
|
|
||||||
int ic10_cmd_trim (char *data, int data_len);
|
int ic10_cmd_trim (char *data, int data_len);
|
||||||
int ic10_transaction (RIG *rig, const char *cmd, int cmd_len, char *data, int *data_len);
|
int ic10_transaction (RIG *rig, const char *cmd, int cmd_len, char *data, int *data_len);
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
|
|
||||||
#include <hamlib/rig.h>
|
#include <hamlib/rig.h>
|
||||||
#include "kenwood.h"
|
#include "kenwood.h"
|
||||||
#include "ic10.h"
|
|
||||||
|
|
||||||
|
|
||||||
#define TS811_ALL_MODES (RIG_MODE_CW|RIG_MODE_SSB|RIG_MODE_FM)
|
#define TS811_ALL_MODES (RIG_MODE_CW|RIG_MODE_SSB|RIG_MODE_FM)
|
||||||
|
|
|
@ -198,7 +198,6 @@ static int ts870s_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
|
||||||
{
|
{
|
||||||
char buf[16];
|
char buf[16];
|
||||||
int kmode, retval;
|
int kmode, retval;
|
||||||
pbwidth_t mode_default_hpf;
|
|
||||||
|
|
||||||
switch (mode)
|
switch (mode)
|
||||||
{
|
{
|
||||||
|
@ -236,6 +235,7 @@ static int ts870s_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
|
||||||
{
|
{
|
||||||
if (RIG_MODE_USB == mode || RIG_MODE_LSB == mode || RIG_MODE_AM == mode)
|
if (RIG_MODE_USB == mode || RIG_MODE_LSB == mode || RIG_MODE_AM == mode)
|
||||||
{
|
{
|
||||||
|
pbwidth_t mode_default_hpf;
|
||||||
/* we assume the HPF is set to default and set the LPF to
|
/* we assume the HPF is set to default and set the LPF to
|
||||||
give the best approximaation of the requested width */
|
give the best approximaation of the requested width */
|
||||||
if (RIG_MODE_AM == mode)
|
if (RIG_MODE_AM == mode)
|
||||||
|
|
|
@ -189,7 +189,6 @@ const struct rig_caps ts940_caps =
|
||||||
.scan = kenwood_scan,
|
.scan = kenwood_scan,
|
||||||
.set_channel = kenwood_set_channel,
|
.set_channel = kenwood_set_channel,
|
||||||
.get_channel = kenwood_get_channel,
|
.get_channel = kenwood_get_channel,
|
||||||
/* .decode_event = ic10_decode_event, */
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue