kopia lustrzana https://github.com/Hamlib/Hamlib
Fix x25cmdfails detection in icom.c
https://github.com/Hamlib/Hamlib/issues/1277#issuecomment-1542655090pull/1289/head^2
rodzic
42d6cce77b
commit
e9cc1881dc
|
@ -1629,7 +1629,7 @@ int icom_get_freq(RIG *rig, vfo_t vfo, freq_t *freq)
|
|||
|
||||
// we'll use 0x25 command to get unselected frequency
|
||||
// we have to assume current_vfo is accurate to determine what "other" means
|
||||
if (priv->x25cmdfails == 0)
|
||||
if (priv->x25cmdfails <= 0)
|
||||
{
|
||||
int cmd2 = 0x25;
|
||||
int subcmd2 = 0x00;
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#define BACKEND_VER "20230508"
|
||||
#define BACKEND_VER "20230510"
|
||||
|
||||
#define ICOM_IS_ID31 rig_is_model(rig, RIG_MODEL_ID31)
|
||||
#define ICOM_IS_ID51 rig_is_model(rig, RIG_MODEL_ID51)
|
||||
|
|
Ładowanie…
Reference in New Issue