kopia lustrzana https://github.com/Hamlib/Hamlib
Add set_powerstat 1 to Yaesu rig_open
rodzic
ed339b1c2b
commit
e7e9943e8b
|
@ -355,6 +355,9 @@ int newcat_open(RIG *rig)
|
||||||
rig_debug(RIG_DEBUG_TRACE, "%s: post_write_delay = %i msec\n",
|
rig_debug(RIG_DEBUG_TRACE, "%s: post_write_delay = %i msec\n",
|
||||||
__func__, rig_s->rigport.post_write_delay);
|
__func__, rig_s->rigport.post_write_delay);
|
||||||
|
|
||||||
|
/* Ensure rig is powered on */
|
||||||
|
rig_set_powerstat(rig, 1);
|
||||||
|
|
||||||
/* get current AI state so it can be restored */
|
/* get current AI state so it can be restored */
|
||||||
priv->trn_state = -1;
|
priv->trn_state = -1;
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
typedef char ncboolean;
|
typedef char ncboolean;
|
||||||
|
|
||||||
/* shared function version */
|
/* shared function version */
|
||||||
#define NEWCAT_VER "0.24"
|
#define NEWCAT_VER "0.25"
|
||||||
|
|
||||||
/* Hopefully large enough for future use, 128 chars plus '\0' */
|
/* Hopefully large enough for future use, 128 chars plus '\0' */
|
||||||
#define NEWCAT_DATA_LEN 129
|
#define NEWCAT_DATA_LEN 129
|
||||||
|
|
Ładowanie…
Reference in New Issue