kopia lustrzana https://github.com/Hamlib/Hamlib
Fix icom_get_mode for rigs with 1-byte mode_len
https://github.com/Hamlib/Hamlib/issues/522Hamlib-4.1
rodzic
8e70763619
commit
cd7811f3ed
|
@ -1911,7 +1911,8 @@ int icom_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width)
|
|||
/*
|
||||
* modebuf should contain Cn,Data area
|
||||
*/
|
||||
mode_len--;
|
||||
// when mode gets here it should be 2 or 1
|
||||
// mode_len--;
|
||||
|
||||
if (mode_len != 2 && mode_len != 1)
|
||||
{
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#define BACKEND_VER "20210120"
|
||||
#define BACKEND_VER "20210129"
|
||||
|
||||
/*
|
||||
* defines used by comp_cal_str in rig.c
|
||||
|
|
Ładowanie…
Reference in New Issue