Speed up FT991 power on -- more rigs can added when identified

https://github.com/Hamlib/Hamlib/issues/1601
pull/1626/head
Mike Black W9MDB 2024-09-22 10:41:02 -05:00
rodzic f63b60a866
commit 23e373b99d
2 zmienionych plików z 9 dodań i 5 usunięć

Wyświetl plik

@ -3706,10 +3706,14 @@ int newcat_set_powerstat(RIG *rig, powerstat_t status)
// so we reopen the com port again
HAMLIB_TRACE;
//oser_close(rp);
rig_close(rig);
hl_usleep(3000000);
//PTTPORT(rig)->fd = ser_open(rp);
rig_open(rig);
// we can add more rigs to this exception to speed them up
if (!is_ft991)
{
rig_close(rig);
hl_usleep(3000000);
//PTTPORT(rig)->fd = ser_open(rp);
rig_open(rig);
}
break;
case RIG_POWER_OFF:

Wyświetl plik

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