Add 5 second sleep during power on for IC7300

https://github.com/Hamlib/Hamlib/issues/1220
pull/1242/head
Mike Black W9MDB 2023-01-21 17:21:04 -06:00
rodzic cdbd517228
commit 0c2426c800
2 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -8051,6 +8051,11 @@ int icom_set_powerstat(RIG *rig, powerstat_t status)
if (status == RIG_POWER_ON) // wait for wakeup only
{
if (rig->caps->rig_model == RIG_MODEL_IC7300)
{
rig_debug(RIG_DEBUG_VERBOSE, "%s: waiting 5 seconds for rig to wake up\n", __func__);
sleep(5); // IC7300 is slow to start up -- may need to add more rigs
}
for (i = 0; i < retry; ++i) // up to 10 attempts
{
freq_t freq;

Wyświetl plik

@ -31,7 +31,7 @@
#include <sys/time.h>
#endif
#define BACKEND_VER "20230118"
#define BACKEND_VER "20230121"
#define ICOM_IS_ID31 rig_is_model(rig, RIG_MODEL_ID31)
#define ICOM_IS_ID51 rig_is_model(rig, RIG_MODEL_ID51)