Invalid roofing filter choice leads to question mark response

pull/426/head
Mikael Nousiainen 2020-10-25 22:24:40 +02:00
rodzic bb71728ebe
commit d4e434fa20
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -6298,7 +6298,11 @@ static int set_roofing_filter(RIG *rig, vfo_t vfo, int index)
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "RF%c%c%c", main_sub_vfo, roofing_filter_choice, cat_term); snprintf(priv->cmd_str, sizeof(priv->cmd_str), "RF%c%c%c", main_sub_vfo, roofing_filter_choice, cat_term);
if (RIG_OK != (err = newcat_set_cmd(rig))) priv->question_mark_response_means_rejected = 1;
err = newcat_set_cmd(rig);
priv->question_mark_response_means_rejected = 0;
if (RIG_OK != err)
{ {
return err; return err;
} }