kopia lustrzana https://github.com/Hamlib/Hamlib
Add RIG_SCAN_STOP to newcat_scan
rodzic
d3d21983f0
commit
e3ce4a35a4
|
@ -6895,8 +6895,11 @@ int newcat_scan(RIG *rig, vfo_t vfo, scan_t scan, int ch)
|
|||
int retval;
|
||||
|
||||
ENTERFUNC;
|
||||
if (scan != RIG_SCAN_VFO) RETURNFUNC2(-RIG_EINVAL);
|
||||
SNPRINTF(priv->cmd_str, sizeof(priv->cmd_str), "SC%d%c", ch, cat_term);
|
||||
|
||||
if (scan != RIG_SCAN_VFO) { RETURNFUNC2(-RIG_EINVAL); }
|
||||
|
||||
SNPRINTF(priv->cmd_str, sizeof(priv->cmd_str), "SC%d%c",
|
||||
scan == RIG_SCAN_STOP ? 0 : ch, cat_term);
|
||||
|
||||
if (RIG_OK != (retval = newcat_set_cmd(rig)))
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue