Add FT991 to RFPOWER scale 100 in newcat.c

https://github.com/Hamlib/Hamlib/issues/354
pull/361/head
Michael Black W9MDB 2020-08-04 07:52:30 -05:00
rodzic 6fbb039a69
commit 494a875d79
3 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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