kopia lustrzana https://github.com/Hamlib/Hamlib
Increase sleep during power on for Icom to wait for serial port to wake up
rodzic
b24cad1278
commit
2852fba73f
|
@ -8130,7 +8130,7 @@ int icom_set_powerstat(RIG *rig, powerstat_t status)
|
||||||
// sending more than enough 0xfe's to wake up the rs232
|
// sending more than enough 0xfe's to wake up the rs232
|
||||||
write_block(&rs->rigport, fe_buf, fe_max);
|
write_block(&rs->rigport, fe_buf, fe_max);
|
||||||
// need to wait a bit for RigPI and others to queue the echo
|
// need to wait a bit for RigPI and others to queue the echo
|
||||||
hl_usleep(200 * 1000);
|
hl_usleep(400 * 1000);
|
||||||
|
|
||||||
// we'll try 0x18 0x01 now -- should work on STBY rigs too
|
// we'll try 0x18 0x01 now -- should work on STBY rigs too
|
||||||
pwr_sc = S_PWR_ON;
|
pwr_sc = S_PWR_ON;
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BACKEND_VER "20230728"
|
#define BACKEND_VER "20230729"
|
||||||
|
|
||||||
#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