Change newcat.c to not abort when ?; is received

FTDX3000 was giving ?; to FB; command!!!
https://github.com/Hamlib/Hamlib/issues/464
pull/468/head
Michael Black W9MDB 2020-12-13 09:40:52 -06:00
rodzic f54d0508fd
commit 4eef84ef47
2 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -9032,10 +9032,12 @@ int newcat_get_cmd(RIG *rig)
* There are many more cases like these and they vary by rig model.
*
* So far, "rig busy" type situations with the ? response have not been observed for get commands.
* Followup 20201213 FTDX3000 FB; command returning ?; so do NOT abort
* see https://github.com/Hamlib/Hamlib/issues/464
*/
rig_debug(RIG_DEBUG_ERR, "%s: Command rejected by the rig: '%s'\n", __func__,
priv->cmd_str);
return -RIG_ERJCTED;
// return -RIG_ERJCTED;
}
continue;

Wyświetl plik

@ -50,7 +50,7 @@
typedef char ncboolean;
/* shared function version */
#define NEWCAT_VER "20201212"
#define NEWCAT_VER "20201213"
/* Hopefully large enough for future use, 128 chars plus '\0' */
#define NEWCAT_DATA_LEN 129