kopia lustrzana https://github.com/Hamlib/Hamlib
Add 5 second sleep during power on for IC7300
https://github.com/Hamlib/Hamlib/issues/1220pull/1242/head
rodzic
cdbd517228
commit
0c2426c800
|
@ -8051,6 +8051,11 @@ int icom_set_powerstat(RIG *rig, powerstat_t status)
|
||||||
|
|
||||||
if (status == RIG_POWER_ON) // wait for wakeup only
|
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
|
for (i = 0; i < retry; ++i) // up to 10 attempts
|
||||||
{
|
{
|
||||||
freq_t freq;
|
freq_t freq;
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BACKEND_VER "20230118"
|
#define BACKEND_VER "20230121"
|
||||||
|
|
||||||
#define ICOM_IS_ID31 rig_is_model(rig, RIG_MODEL_ID31)
|
#define ICOM_IS_ID31 rig_is_model(rig, RIG_MODEL_ID31)
|
||||||
#define ICOM_IS_ID51 rig_is_model(rig, RIG_MODEL_ID51)
|
#define ICOM_IS_ID51 rig_is_model(rig, RIG_MODEL_ID51)
|
||||||
|
|
Ładowanie…
Reference in New Issue