Skip to content

Commit

Permalink
Make Malachite do 2-freq set all the time -- seems to work well
Browse files Browse the repository at this point in the history
  • Loading branch information
mdblack98 committed Apr 6, 2021
1 parent 993a316 commit bddf868
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions rigs/kenwood/ts480.c
Original file line number Diff line number Diff line change
Expand Up @@ -948,15 +948,13 @@ int malachite_set_freq(RIG *rig, vfo_t vfo, freq_t freq)
{
int retval;

// Malachite has bug on VHF and up where it takes two freq set to make it work
if (freq > 100e6)
{
retval = kenwood_set_freq(rig, vfo, freq + 1);
// Malachite has a bug where it takes two freq set to make it work
// under some band changes -- so we just do this all the time
retval = kenwood_set_freq(rig, vfo, freq + 1);

if (retval != RIG_OK) { RETURNFUNC(retval); }
if (retval != RIG_OK) { RETURNFUNC(retval); }

retval = kenwood_set_freq(rig, vfo, freq);
}
retval = kenwood_set_freq(rig, vfo, freq);

RETURNFUNC(retval);
}
Expand Down

0 comments on commit bddf868

Please sign in to comment.