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/979
pull/989/head
Mike Black W9MDB 2022-03-07 11:25:31 -06:00
rodzic 1993073559
commit 21680572ab
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -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)
{ {

Wyświetl plik

@ -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