From 494a875d79c3b683d8a062b1efe45442d48aa33a Mon Sep 17 00:00:00 2001 From: Michael Black W9MDB Date: Tue, 4 Aug 2020 07:52:30 -0500 Subject: [PATCH] Add FT991 to RFPOWER scale 100 in newcat.c https://github.com/Hamlib/Hamlib/issues/354 --- rigs/yaesu/newcat.c | 1 + rigs/yaesu/newcat.h | 2 +- scripts/README.build-Windows | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index fec6f63ae..3b2b048ef 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -2552,6 +2552,7 @@ int newcat_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val) scale = newcat_is_rig(rig, RIG_MODEL_FT891) ? 100. : scale ; scale = newcat_is_rig(rig, RIG_MODEL_FT950) ? 100. : scale ; scale = newcat_is_rig(rig, RIG_MODEL_FT1200) ? 100. : scale ; + scale = newcat_is_rig(rig, RIG_MODEL_FT991) ? 100. : scale ; fpf = newcat_scale_float(scale, val.f); snprintf(priv->cmd_str, sizeof(priv->cmd_str), "PC%03d%c", fpf, cat_term); break; diff --git a/rigs/yaesu/newcat.h b/rigs/yaesu/newcat.h index eaf801697..0173388fc 100644 --- a/rigs/yaesu/newcat.h +++ b/rigs/yaesu/newcat.h @@ -50,7 +50,7 @@ typedef char ncboolean; /* shared function version */ -#define NEWCAT_VER "20200729" +#define NEWCAT_VER "20200804" /* Hopefully large enough for future use, 128 chars plus '\0' */ #define NEWCAT_DATA_LEN 129 diff --git a/scripts/README.build-Windows b/scripts/README.build-Windows index cbeffcd39..9385a5640 100644 --- a/scripts/README.build-Windows +++ b/scripts/README.build-Windows @@ -29,9 +29,9 @@ to be built. Download the latest libusb-1.0 from: https://sourceforge.net/projects/libusb/files/libusb-1.0/ -and unzip the archive in ~/builds +:nd unzip the archive in ~/builds -Any version of libusb from 1.0.20 is known to work. +Libusb 1.0.20 is known to work. Presumably any 1.X.X version should work. Several variables may need to be set differently at the top of the script file depending on your system.