Skip to content

Commit

Permalink
Add set_dsp_flt for IC7000 -- any other Icom rigs can use this?
Browse files Browse the repository at this point in the history
  • Loading branch information
mdblack98 committed Feb 18, 2021
1 parent 8f1efb6 commit 1e9a991
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
12 changes: 2 additions & 10 deletions rigs/icom/icom.c
Original file line number Diff line number Diff line change
Expand Up @@ -1488,8 +1488,6 @@ pbwidth_t icom_get_dsp_flt(RIG *rig, rmode_t mode)
return 0;
}

#ifdef XXREMOVEDXX
// not referenced anywhere
int icom_set_dsp_flt(RIG *rig, rmode_t mode, pbwidth_t width)
{
int retval, rfstatus;
Expand Down Expand Up @@ -1573,7 +1571,6 @@ int icom_set_dsp_flt(RIG *rig, rmode_t mode, pbwidth_t width)

return RIG_OK;
}
#endif

/*
* icom_set_mode_with_data
Expand Down Expand Up @@ -1762,20 +1759,15 @@ int icom_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
return -RIG_ERJCTED;
}

#if 0

/* Tentative DSP filter setting ($1A$03), but not supported by every rig,
/* DSP filter setting ($1A$03), but not supported by every rig,
* and some models like IC910/Omni VI Plus have a different meaning for
* this subcommand
*/
if ((rig->caps->rig_model != RIG_MODEL_IC910) &&
(rig->caps->rig_model != RIG_MODEL_OMNIVIP))
if (rig->caps->rig_model == RIG_MODEL_IC7000)
{
icom_set_dsp_flt(rig, mode, width);
}

#endif

return RIG_OK;
}

Expand Down
2 changes: 1 addition & 1 deletion rigs/icom/icom.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <sys/time.h>
#endif

#define BACKEND_VER "20210212"
#define BACKEND_VER "20210217"

/*
* defines used by comp_cal_str in rig.c
Expand Down

0 comments on commit 1e9a991

Please sign in to comment.