kopia lustrzana https://github.com/Hamlib/Hamlib
Reset x25cmdfails when SATMODE is called
rodzic
92c6f3924e
commit
1e658578ec
|
@ -4765,6 +4765,8 @@ int icom_set_func(RIG *rig, vfo_t vfo, setting_t func, int status)
|
||||||
unsigned char fctbuf[MAXFRAMELEN], ackbuf[MAXFRAMELEN];
|
unsigned char fctbuf[MAXFRAMELEN], ackbuf[MAXFRAMELEN];
|
||||||
int fct_len, acklen, retval;
|
int fct_len, acklen, retval;
|
||||||
int fct_cn, fct_sc; /* Command Number, Subcommand */
|
int fct_cn, fct_sc; /* Command Number, Subcommand */
|
||||||
|
struct rig_state *rs = &rig->state;
|
||||||
|
struct icom_priv_data *priv = (struct icom_priv_data *) rs->priv;
|
||||||
|
|
||||||
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
|
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
|
||||||
|
|
||||||
|
@ -4950,6 +4952,7 @@ int icom_set_func(RIG *rig, vfo_t vfo, setting_t func, int status)
|
||||||
fct_cn = C_CTL_FUNC;
|
fct_cn = C_CTL_FUNC;
|
||||||
fct_sc = S_MEM_SATMODE;
|
fct_sc = S_MEM_SATMODE;
|
||||||
}
|
}
|
||||||
|
priv->x25cmdfails = 0; // we reset this to try it again
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BACKEND_VER "0.37"
|
#define BACKEND_VER "0.38"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* defines used by comp_cal_str in rig.c
|
* defines used by comp_cal_str in rig.c
|
||||||
|
|
Ładowanie…
Reference in New Issue