kopia lustrzana https://github.com/Hamlib/Hamlib
Improve Malachine band change time a bit
rodzic
5c3f26cc56
commit
fcef98e60d
|
@ -2046,11 +2046,14 @@ int malachite_set_freq(RIG *rig, vfo_t vfo, freq_t freq)
|
||||||
// Malachite has a bug where it takes two freq set to make it work
|
// Malachite has a bug where it takes two freq set to make it work
|
||||||
// under band changes -- so we just do this all the time
|
// under band changes -- so we just do this all the time
|
||||||
retval = kenwood_set_freq(rig, vfo, freq + 1);
|
retval = kenwood_set_freq(rig, vfo, freq + 1);
|
||||||
hl_usleep(300 *
|
rig->state.post_write_delay = 250; // need a bit more time on band change
|
||||||
1000); // we need a bit over 400ms so the 125ms default plus this works
|
|
||||||
|
|
||||||
if (retval != RIG_OK) { RETURNFUNC(retval); }
|
if (retval != RIG_OK) { RETURNFUNC(retval); }
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
rig->state.post_write_delay = 125;
|
||||||
|
}
|
||||||
|
|
||||||
retval = kenwood_set_freq(rig, vfo, freq);
|
retval = kenwood_set_freq(rig, vfo, freq);
|
||||||
|
|
||||||
|
@ -2067,7 +2070,7 @@ const struct rig_caps malachite_caps =
|
||||||
RIG_MODEL(RIG_MODEL_MALACHITE),
|
RIG_MODEL(RIG_MODEL_MALACHITE),
|
||||||
.model_name = "DSP",
|
.model_name = "DSP",
|
||||||
.mfg_name = "Malachite",
|
.mfg_name = "Malachite",
|
||||||
.version = BACKEND_VER ".3",
|
.version = BACKEND_VER ".4",
|
||||||
.copyright = "LGPL",
|
.copyright = "LGPL",
|
||||||
.status = RIG_STATUS_STABLE,
|
.status = RIG_STATUS_STABLE,
|
||||||
.rig_type = RIG_TYPE_RECEIVER,
|
.rig_type = RIG_TYPE_RECEIVER,
|
||||||
|
|
Ładowanie…
Reference in New Issue