kopia lustrzana https://github.com/Hamlib/Hamlib
+04d actaully kicks out 3-digits and not 4 -- the + is included in the width value
Revert "Fix PowerSDR ZZAR command format -- may need another fix for SmartSDR format to be different"
This reverts commit 1e5563909d
.
pull/1330/head
rodzic
1e5563909d
commit
bc50d9c273
|
@ -667,7 +667,7 @@ int powersdr_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val)
|
|||
if (val.f > 1.0) { return -RIG_EINVAL; }
|
||||
|
||||
ival = val.f * (120 - -20) - 20;
|
||||
SNPRINTF(cmd, sizeof(cmd) - 1, "ZZAR%+03d", ival);
|
||||
SNPRINTF(cmd, sizeof(cmd) - 1, "ZZAR%+04d", ival);
|
||||
break;
|
||||
|
||||
case RIG_LEVEL_MICGAIN:
|
||||
|
@ -1233,7 +1233,7 @@ const struct rig_caps powersdr_caps =
|
|||
RIG_MODEL(RIG_MODEL_POWERSDR),
|
||||
.model_name = "PowerSDR/Thetis",
|
||||
.mfg_name = "FlexRadio/ANAN",
|
||||
.version = "20230606.0",
|
||||
.version = "20221123.0",
|
||||
.copyright = "LGPL",
|
||||
.status = RIG_STATUS_STABLE,
|
||||
.rig_type = RIG_TYPE_TRANSCEIVER,
|
||||
|
|
Ładowanie…
Reference in New Issue