kopia lustrzana https://github.com/Hamlib/Hamlib
Add retry of PS1 during power on sequencing in newcat.c
https://github.com/Hamlib/Hamlib/issues/579pull/608/head
rodzic
7286c1ac86
commit
ac18671029
|
@ -3153,7 +3153,6 @@ int newcat_set_powerstat(RIG *rig, powerstat_t status)
|
|||
case RIG_POWER_OFF:
|
||||
case RIG_POWER_STANDBY:
|
||||
ps = '0';
|
||||
write_block(&state->rigport, "\n", 0);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
@ -3182,6 +3181,8 @@ int newcat_set_powerstat(RIG *rig, powerstat_t status)
|
|||
}
|
||||
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: Wait #%d for power up\n", __func__, i + 1);
|
||||
retval = write_block(&state->rigport, priv->cmd_str, strlen(priv->cmd_str));
|
||||
if (retval != RIG_OK) RETURNFUNC(retval);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue