kopia lustrzana https://github.com/Hamlib/Hamlib
Remove range_list2 from newcat.c
rodzic
086e3ae9da
commit
830d218731
|
@ -523,14 +523,13 @@ int newcat_set_freq(RIG *rig, vfo_t vfo, freq_t freq)
|
|||
rig_debug(RIG_DEBUG_TRACE, "%s: passed freq = %"PRIfreq" Hz\n", __func__, freq);
|
||||
|
||||
/* additional debugging */
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: R2 minimum freq = %"PRIfreq" Hz\n", __func__,
|
||||
caps->rx_range_list2[0].startf);
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: R2 maximum freq = %"PRIfreq" Hz\n", __func__,
|
||||
caps->rx_range_list2[0].endf);
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: minimum freq = %"PRIfreq" Hz\n", __func__,
|
||||
caps->rx_range_list1[0].startf);
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: maximum freq = %"PRIfreq" Hz\n", __func__,
|
||||
caps->rx_range_list1[0].endf);
|
||||
|
||||
if (freq < caps->rx_range_list1[0].startf
|
||||
|| freq > caps->rx_range_list1[0].endf ||
|
||||
freq < caps->rx_range_list2[0].startf || freq > caps->rx_range_list2[0].endf)
|
||||
|| freq > caps->rx_range_list1[0].endf)
|
||||
{
|
||||
return -RIG_EINVAL;
|
||||
}
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
typedef char ncboolean;
|
||||
|
||||
/* shared function version */
|
||||
#define NEWCAT_VER "0.28"
|
||||
#define NEWCAT_VER "0.29"
|
||||
|
||||
/* Hopefully large enough for future use, 128 chars plus '\0' */
|
||||
#define NEWCAT_DATA_LEN 129
|
||||
|
|
Ładowanie…
Reference in New Issue