Change debug message in newcat.c so we can see which one it is

https://github.com/Hamlib/Hamlib/issues/505
pull/508/head
Michael Black W9MDB 2021-01-12 07:13:50 -06:00
rodzic 614f08b672
commit 935b520b44
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -9160,7 +9160,7 @@ int newcat_get_cmd(RIG *rig)
* Followup 20201213 FTDX3000 FB; command returning ?; so do NOT abort * Followup 20201213 FTDX3000 FB; command returning ?; so do NOT abort
* see https://github.com/Hamlib/Hamlib/issues/464 * see https://github.com/Hamlib/Hamlib/issues/464
*/ */
rig_debug(RIG_DEBUG_ERR, "%s: Command rejected by the rig: '%s'\n", __func__, rig_debug(RIG_DEBUG_ERR, "%s: Command rejected by the rig#1: '%s'\n", __func__,
priv->cmd_str); priv->cmd_str);
// return -RIG_ERJCTED; // return -RIG_ERJCTED;
} }
@ -9304,7 +9304,7 @@ int newcat_set_cmd(RIG *rig)
*/ */
if (priv->question_mark_response_means_rejected) if (priv->question_mark_response_means_rejected)
{ {
rig_debug(RIG_DEBUG_ERR, "%s: Command rejected by the rig: '%s'\n", __func__, rig_debug(RIG_DEBUG_ERR, "%s: Command rejected by the rig#2: '%s'\n", __func__,
priv->cmd_str); priv->cmd_str);
return -RIG_ERJCTED; return -RIG_ERJCTED;
} }