Add 3 second sleep in icom powerstat to allow the rig to wake up

https://github.com/Hamlib/Hamlib/issues/525
pull/527/head
Michael Black W9MDB 2021-02-03 12:54:30 -06:00
rodzic 76f3099aef
commit e589e078a1
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -6231,6 +6231,7 @@ int icom_set_powerstat(RIG *rig, powerstat_t status)
retval = retval =
icom_transaction(rig, C_SET_PWR, pwr_sc, NULL, 0, ackbuf, &ack_len); icom_transaction(rig, C_SET_PWR, pwr_sc, NULL, 0, ackbuf, &ack_len);
rs->rigport.retry = retry; rs->rigport.retry = retry;
hl_usleep(3000*1000); // give it 3 seconds to wake up
break; break;

Wyświetl plik

@ -30,7 +30,7 @@
#include <sys/time.h> #include <sys/time.h>
#endif #endif
#define BACKEND_VER "20210129" #define BACKEND_VER "20210203"
/* /*
* defines used by comp_cal_str in rig.c * defines used by comp_cal_str in rig.c