kopia lustrzana https://github.com/Hamlib/Hamlib
Another attempt to get ft817 PWR_ON working
https://github.com/Hamlib/Hamlib/issues/418
(cherry picked from commit 6a65b41698
)
Hamlib-4.0
rodzic
9682af9fe8
commit
2c25ee32ab
|
@ -1459,7 +1459,8 @@ int ft817_set_powerstat(RIG *rig, powerstat_t status)
|
||||||
// send 5 bytes first, snooze a bit, then PWR_ON
|
// send 5 bytes first, snooze a bit, then PWR_ON
|
||||||
write_block(&rig->state.rigport, (char *) p->pcs[FT817_NATIVE_CAT_PWR_WAKE].nseq, YAESU_CMD_LENGTH);
|
write_block(&rig->state.rigport, (char *) p->pcs[FT817_NATIVE_CAT_PWR_WAKE].nseq, YAESU_CMD_LENGTH);
|
||||||
hl_usleep(200*1000);
|
hl_usleep(200*1000);
|
||||||
return ft817_send_cmd(rig, FT817_NATIVE_CAT_PWR_ON);
|
write_block(&rig->state.rigport, (char *) p->pcs[FT817_NATIVE_CAT_PWR_ON].nseq, YAESU_CMD_LENGTH);
|
||||||
|
return RIG_OKn;
|
||||||
|
|
||||||
case RIG_POWER_STANDBY:
|
case RIG_POWER_STANDBY:
|
||||||
default:
|
default:
|
||||||
|
|
Ładowanie…
Reference in New Issue