Disable several question_mark_response_means_rejected lines

They are much too general and need to be narrowed to rig/mode
https://github.com/Hamlib/Hamlib/issues/505
pull/506/head
Michael Black W9MDB 2021-01-11 17:45:53 -06:00
rodzic 612de9762e
commit 614f08b672
2 zmienionych plików z 19 dodań i 7 usunięć

Wyświetl plik

@ -3304,7 +3304,9 @@ int newcat_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val)
}
// Some Yaesu rigs reject this command in AM/FM modes
priv->question_mark_response_means_rejected = 1;
// Disabling as it's too general
// Need to be rig/mode specific
//priv->question_mark_response_means_rejected = 1;
break;
case RIG_LEVEL_CWPITCH:
@ -3371,7 +3373,9 @@ int newcat_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val)
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "MG%03d%c", fpf, cat_term);
// Some Yaesu rigs reject this command in RTTY modes
priv->question_mark_response_means_rejected = 1;
// Disabling as it's too general
// Need to be rig/mode specific
//priv->question_mark_response_means_rejected = 1;
break;
case RIG_LEVEL_METER:
@ -3579,7 +3583,9 @@ int newcat_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val)
}
// Some Yaesu rigs reject this command in AM/FM modes
priv->question_mark_response_means_rejected = 1;
// Disabling as it's too general
// Need to be rig/mode specific
//priv->question_mark_response_means_rejected = 1;
break;
case RIG_LEVEL_COMP:
@ -4868,7 +4874,9 @@ int newcat_set_func(RIG *rig, vfo_t vfo, setting_t func, int status)
}
// Some Yaesu rigs reject this command in AM/FM modes
priv->question_mark_response_means_rejected = 1;
// Disabling as it's too general
// Need to be rig/mode specific
//priv->question_mark_response_means_rejected = 1;
break;
case RIG_FUNC_MN:
@ -4886,7 +4894,9 @@ int newcat_set_func(RIG *rig, vfo_t vfo, setting_t func, int status)
}
// Some Yaesu rigs reject this command in AM/FM modes
priv->question_mark_response_means_rejected = 1;
// Disabling as it's too general
// Need to be rig/mode specific
//priv->question_mark_response_means_rejected = 1;
break;
case RIG_FUNC_FBKIN:
@ -4992,7 +5002,9 @@ int newcat_set_func(RIG *rig, vfo_t vfo, setting_t func, int status)
}
// Some Yaesu rigs reject this command in AM/FM modes
priv->question_mark_response_means_rejected = 1;
// Disabling as it's too general
// Need to be rig/mode specific
//priv->question_mark_response_means_rejected = 1;
break;
case RIG_FUNC_COMP:

Wyświetl plik

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