kopia lustrzana https://github.com/Hamlib/Hamlib
Add FT991 to RFPOWER scale 100 in newcat.c
https://github.com/Hamlib/Hamlib/issues/354pull/361/head
rodzic
6fbb039a69
commit
494a875d79
|
@ -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_FT891) ? 100. : scale ;
|
||||||
scale = newcat_is_rig(rig, RIG_MODEL_FT950) ? 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_FT1200) ? 100. : scale ;
|
||||||
|
scale = newcat_is_rig(rig, RIG_MODEL_FT991) ? 100. : scale ;
|
||||||
fpf = newcat_scale_float(scale, val.f);
|
fpf = newcat_scale_float(scale, val.f);
|
||||||
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "PC%03d%c", fpf, cat_term);
|
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "PC%03d%c", fpf, cat_term);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
typedef char ncboolean;
|
typedef char ncboolean;
|
||||||
|
|
||||||
/* shared function version */
|
/* shared function version */
|
||||||
#define NEWCAT_VER "20200729"
|
#define NEWCAT_VER "20200804"
|
||||||
|
|
||||||
/* 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
|
||||||
|
|
|
@ -29,9 +29,9 @@ to be built. Download the latest libusb-1.0 from:
|
||||||
|
|
||||||
https://sourceforge.net/projects/libusb/files/libusb-1.0/
|
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
|
Several variables may need to be set differently at the top of the script file
|
||||||
depending on your system.
|
depending on your system.
|
||||||
|
|
Ładowanie…
Reference in New Issue