removed non used functions, which are emulated by the frontend

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1965 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.4
Stéphane Fillod, F8CFE 2005-04-03 18:57:28 +00:00
rodzic 96097e762a
commit cda3d6bb86
4 zmienionych plików z 4 dodań i 221 usunięć

Wyświetl plik

@ -9,7 +9,7 @@
* via serial interface to an FT-890 using the "CAT" interface
*
*
* $Id: ft890.c,v 1.7 2005-01-25 00:21:58 fillods Exp $
* $Id: ft890.c,v 1.8 2005-04-03 18:57:28 fillods Exp $
*
*
* This library is free software; you can redistribute it and/or
@ -258,10 +258,6 @@ const struct rig_caps ft890_caps = {
.get_ptt = ft890_get_ptt,
.set_split_vfo = ft890_set_split_vfo,
.get_split_vfo = ft890_get_split_vfo,
// .set_split_freq = ft890_set_split_freq,
// .get_split_freq = ft890_get_split_freq,
// .set_split_mode = ft890_set_split_mode,
// .get_split_mode = ft890_get_split_mode,
.set_rit = ft890_set_rit,
.get_rit = ft890_get_rit,
.set_func = ft890_set_func,
@ -1061,104 +1057,6 @@ static int ft890_get_split_vfo(RIG *rig, vfo_t vfo, split_t *split, vfo_t *tx_vf
}
/*
* set the '890 split TX freq
*
* Right now this is just a pass-through function and depends on the
* user app to "know" which VFO to set. Does this need to determine
* the split direction and set accordingly?
*/
static int ft890_set_split_freq(RIG *rig, vfo_t vfo, freq_t tx_freq) {
int err;
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
if (!rig)
return -RIG_EINVAL;
err = ft890_set_freq(rig, vfo, tx_freq);
if (err != RIG_OK)
return err;
return RIG_OK;
}
/*
* get the '890 split TX freq
*
* Right now this is just a pass-through function and depends on the
* user app to "know" which VFO to set. Does this need to determine
* the split direction and set accordingly?
*/
static int ft890_get_split_freq(RIG *rig, vfo_t vfo, freq_t *tx_freq) {
int err;
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
if (!rig)
return -RIG_EINVAL;
err = ft890_get_freq(rig, vfo, tx_freq);
if (err != RIG_OK)
return err;
return RIG_OK;
}
/*
* set the '890 split TX mode
*
* Right now this is just a pass-through function and depends on the
* user app to "know" which VFO to set. Does this need to determine
* the split direction and set accordingly?
*/
static int ft890_set_split_mode(RIG *rig, vfo_t vfo, rmode_t tx_mode,
pbwidth_t tx_width) {
int err;
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
if (!rig)
return -RIG_EINVAL;
err = ft890_set_mode(rig, vfo, tx_mode, tx_width);
if (err != RIG_OK)
return err;
return RIG_OK;
}
/*
* get the '890 split TX mode
*
* Right now this is just a pass-through function and depends on the
* user app to "know" which VFO to set. Does this need to determine
* the split direction and set accordingly?
*/
static int ft890_get_split_mode(RIG *rig, vfo_t vfo, rmode_t *tx_mode,
pbwidth_t *tx_width) {
int err;
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
if (!rig)
return -RIG_EINVAL;
err = ft890_get_mode(rig, vfo, tx_mode, tx_width);
if (err != RIG_OK)
return err;
return RIG_OK;
}
/*
* rig_set_rit
*

Wyświetl plik

@ -9,7 +9,7 @@
* via serial interface to an FT-890 using the "CAT" interface
*
*
* $Id: ft890.h,v 1.5 2003-04-12 13:00:17 n0nb Exp $
* $Id: ft890.h,v 1.6 2005-04-03 18:57:28 fillods Exp $
*
*
* This library is free software; you can redistribute it and/or
@ -344,12 +344,6 @@ static int ft890_get_ptt(RIG *rig, vfo_t vfo, ptt_t *ptt);
static int ft890_set_split_vfo(RIG *rig, vfo_t vfo, split_t split, vfo_t tx_vfo);
static int ft890_get_split_vfo(RIG *rig, vfo_t vfo, split_t *split, vfo_t *tx_vfo);
/* static int ft890_set_split_freq(RIG *rig, vfo_t vfo, freq_t tx_freq);
static int ft890_get_split_freq(RIG *rig, vfo_t vfo, freq_t *tx_freq); */
/* static int ft890_set_split_mode(RIG *rig, vfo_t vfo, rmode_t tx_mode, pbwidth_t tx_width);
static int ft890_get_split_mode(RIG *rig, vfo_t vfo, rmode_t *tx_mode, pbwidth_t *tx_width); */
static int ft890_set_rit(RIG *rig, vfo_t vfo, shortfreq_t rit);
static int ft890_get_rit(RIG *rig, vfo_t vfo, shortfreq_t *rit);

Wyświetl plik

@ -9,7 +9,7 @@
* via serial interface to an FT-900 using the "CAT" interface
*
*
* $Id: ft900.c,v 1.2 2005-01-25 00:21:58 fillods Exp $
* $Id: ft900.c,v 1.3 2005-04-03 18:57:28 fillods Exp $
*
*
* This library is free software; you can redistribute it and/or
@ -258,10 +258,6 @@ const struct rig_caps ft900_caps = {
.get_ptt = ft900_get_ptt,
.set_split_vfo = ft900_set_split_vfo,
.get_split_vfo = ft900_get_split_vfo,
// .set_split_freq = ft900_set_split_freq,
// .get_split_freq = ft900_get_split_freq,
// .set_split_mode = ft900_set_split_mode,
// .get_split_mode = ft900_get_split_mode,
.set_rit = ft900_set_rit,
.get_rit = ft900_get_rit,
.set_func = ft900_set_func,
@ -1060,105 +1056,6 @@ static int ft900_get_split_vfo(RIG *rig, vfo_t vfo, split_t *split, vfo_t *tx_vf
return RIG_OK;
}
/*
* set the '900 split TX freq
*
* Right now this is just a pass-through function and depends on the
* user app to "know" which VFO to set. Does this need to determine
* the split direction and set accordingly?
*/
static int ft900_set_split_freq(RIG *rig, vfo_t vfo, freq_t tx_freq) {
int err;
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
if (!rig)
return -RIG_EINVAL;
err = ft900_set_freq(rig, vfo, tx_freq);
if (err != RIG_OK)
return err;
return RIG_OK;
}
/*
* get the '900 split TX freq
*
* Right now this is just a pass-through function and depends on the
* user app to "know" which VFO to set. Does this need to determine
* the split direction and set accordingly?
*/
static int ft900_get_split_freq(RIG *rig, vfo_t vfo, freq_t *tx_freq) {
int err;
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
if (!rig)
return -RIG_EINVAL;
err = ft900_get_freq(rig, vfo, tx_freq);
if (err != RIG_OK)
return err;
return RIG_OK;
}
/*
* set the '900 split TX mode
*
* Right now this is just a pass-through function and depends on the
* user app to "know" which VFO to set. Does this need to determine
* the split direction and set accordingly?
*/
static int ft900_set_split_mode(RIG *rig, vfo_t vfo, rmode_t tx_mode,
pbwidth_t tx_width) {
int err;
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
if (!rig)
return -RIG_EINVAL;
err = ft900_set_mode(rig, vfo, tx_mode, tx_width);
if (err != RIG_OK)
return err;
return RIG_OK;
}
/*
* get the '900 split TX mode
*
* Right now this is just a pass-through function and depends on the
* user app to "know" which VFO to set. Does this need to determine
* the split direction and set accordingly?
*/
static int ft900_get_split_mode(RIG *rig, vfo_t vfo, rmode_t *tx_mode,
pbwidth_t *tx_width) {
int err;
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
if (!rig)
return -RIG_EINVAL;
err = ft900_get_mode(rig, vfo, tx_mode, tx_width);
if (err != RIG_OK)
return err;
return RIG_OK;
}
/*
* rig_set_rit
*

Wyświetl plik

@ -9,7 +9,7 @@
* via serial interface to an FT-900 using the "CAT" interface
*
*
* $Id: ft900.h,v 1.1 2003-04-14 22:17:44 n0nb Exp $
* $Id: ft900.h,v 1.2 2005-04-03 18:57:28 fillods Exp $
*
*
* This library is free software; you can redistribute it and/or
@ -344,12 +344,6 @@ static int ft900_get_ptt(RIG *rig, vfo_t vfo, ptt_t *ptt);
static int ft900_set_split_vfo(RIG *rig, vfo_t vfo, split_t split, vfo_t tx_vfo);
static int ft900_get_split_vfo(RIG *rig, vfo_t vfo, split_t *split, vfo_t *tx_vfo);
/* static int ft900_set_split_freq(RIG *rig, vfo_t vfo, freq_t tx_freq);
static int ft900_get_split_freq(RIG *rig, vfo_t vfo, freq_t *tx_freq); */
/* static int ft900_set_split_mode(RIG *rig, vfo_t vfo, rmode_t tx_mode, pbwidth_t tx_width);
static int ft900_get_split_mode(RIG *rig, vfo_t vfo, rmode_t *tx_mode, pbwidth_t *tx_width); */
static int ft900_set_rit(RIG *rig, vfo_t vfo, shortfreq_t rit);
static int ft900_get_rit(RIG *rig, vfo_t vfo, shortfreq_t *rit);