Ensure tuner is off for FTDX101D/MP for 70cm band -- bug in firmware leaves it on which can cause damage

pull/1630/head
Mike Black W9MDB 2024-11-18 17:26:10 -06:00
rodzic d444fe43c6
commit 48aa284152
2 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -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 */
}
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)
{
case RIG_VFO_A:

Wyświetl plik

@ -50,7 +50,7 @@
typedef char ncboolean;
/* shared function version */
#define NEWCAT_VER "20240922"
#define NEWCAT_VER "20241118"
/* Hopefully large enough for future use, 128 chars plus '\0' */
#define NEWCAT_DATA_LEN 129