kopia lustrzana https://github.com/Hamlib/Hamlib
Ensure tuner is off for FTDX101D/MP for 70cm band -- bug in firmware leaves it on which can cause damage
rodzic
d444fe43c6
commit
48aa284152
|
@ -1011,6 +1011,13 @@ int newcat_set_freq(RIG *rig, vfo_t vfo, freq_t freq)
|
||||||
RETURNFUNC(RIG_OK); /* make it look like we changed */
|
RETURNFUNC(RIG_OK); /* make it look like we changed */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ((is_ftdx101d || is_ftdx101mp) && (freq >= 70000000 && freq <= 70499999))
|
||||||
|
{
|
||||||
|
// ensure the tuner is off for 70cm -- can cause damage to the rig
|
||||||
|
newcat_set_func(rig, RIG_VFO_A, RIG_FUNC_TUNER, 0);
|
||||||
|
hl_usleep(100 * 1000); // give it a chance to turn off
|
||||||
|
}
|
||||||
|
|
||||||
switch (vfo)
|
switch (vfo)
|
||||||
{
|
{
|
||||||
case RIG_VFO_A:
|
case RIG_VFO_A:
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
typedef char ncboolean;
|
typedef char ncboolean;
|
||||||
|
|
||||||
/* shared function version */
|
/* shared function version */
|
||||||
#define NEWCAT_VER "20240922"
|
#define NEWCAT_VER "20241118"
|
||||||
|
|
||||||
/* Hopefully large enough for future use, 128 chars plus '\0' */
|
/* Hopefully large enough for future use, 128 chars plus '\0' */
|
||||||
#define NEWCAT_DATA_LEN 129
|
#define NEWCAT_DATA_LEN 129
|
||||||
|
|
Ładowanie…
Reference in New Issue