kopia lustrzana https://github.com/Hamlib/Hamlib
Attempt to fix power on for Yaesu rigs. ID was being sent before byte wakeup so disabled the ID query.
https://github.com/Hamlib/Hamlib/issues/979pull/989/head
rodzic
1993073559
commit
21680572ab
|
@ -3242,10 +3242,12 @@ int newcat_set_powerstat(RIG *rig, powerstat_t status)
|
||||||
|
|
||||||
ENTERFUNC;
|
ENTERFUNC;
|
||||||
|
|
||||||
|
#if 0 // all Yaeus rigs have PS and calling this here interferes with power on
|
||||||
if (!newcat_valid_command(rig, "PS"))
|
if (!newcat_valid_command(rig, "PS"))
|
||||||
{
|
{
|
||||||
RETURNFUNC(-RIG_ENAVAIL);
|
RETURNFUNC(-RIG_ENAVAIL);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
switch (status)
|
switch (status)
|
||||||
{
|
{
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
typedef char ncboolean;
|
typedef char ncboolean;
|
||||||
|
|
||||||
/* shared function version */
|
/* shared function version */
|
||||||
#define NEWCAT_VER "20220221"
|
#define NEWCAT_VER "20220307"
|
||||||
|
|
||||||
/* 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