kopia lustrzana https://github.com/Hamlib/Hamlib
Speed up FT991 power on -- more rigs can added when identified
https://github.com/Hamlib/Hamlib/issues/1601pull/1626/head
rodzic
f63b60a866
commit
23e373b99d
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue