From 21680572ab01f0084d42beea124446ff5a326318 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Mon, 7 Mar 2022 11:25:31 -0600 Subject: [PATCH] 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 --- rigs/yaesu/newcat.c | 2 ++ rigs/yaesu/newcat.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 8c01e2e58..9c4c59d3c 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -3242,10 +3242,12 @@ int newcat_set_powerstat(RIG *rig, powerstat_t status) ENTERFUNC; +#if 0 // all Yaeus rigs have PS and calling this here interferes with power on if (!newcat_valid_command(rig, "PS")) { RETURNFUNC(-RIG_ENAVAIL); } +#endif switch (status) { diff --git a/rigs/yaesu/newcat.h b/rigs/yaesu/newcat.h index beec27566..d92d0f17d 100644 --- a/rigs/yaesu/newcat.h +++ b/rigs/yaesu/newcat.h @@ -50,7 +50,7 @@ typedef char ncboolean; /* shared function version */ -#define NEWCAT_VER "20220221" +#define NEWCAT_VER "20220307" /* Hopefully large enough for future use, 128 chars plus '\0' */ #define NEWCAT_DATA_LEN 129