Fix newcat.c set_cmd_validate to return RIG_OK when succesful

https://github.com/Hamlib/Hamlib/issues/591
pull/608/head
Michael Black W9MDB 2021-03-08 08:01:00 -06:00
rodzic 57ba6800f1
commit ca3e67aa27
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -9814,7 +9814,9 @@ int newcat_set_cmd(RIG *rig)
if (rc == RIG_OK)
{
// if we were able to set and and validate we're done
rig_debug(RIG_DEBUG_TRACE, "%s: cmd_validate OK\n", __func__);
RETURNFUNC(RIG_OK);
}
else if (rc == -RIG_EPROTO)
{

Wyświetl plik

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