kopia lustrzana https://github.com/Hamlib/Hamlib
Fix cppcheck error discovery
rodzic
321f3f8ab4
commit
a29eb33e6e
|
@ -2128,7 +2128,7 @@ static int netrigctl_get_powerstat(RIG *rig, powerstat_t *status)
|
||||||
// a return of 1 should indicate there is no powerstat command available
|
// a return of 1 should indicate there is no powerstat command available
|
||||||
// so we fake the ON status
|
// so we fake the ON status
|
||||||
// also a problem with Flex 6xxx and Log4OM not working due to lack of PS command
|
// also a problem with Flex 6xxx and Log4OM not working due to lack of PS command
|
||||||
if (ret != RIG_ETIMEOUT)
|
if (ret != -RIG_ETIMEOUT)
|
||||||
{
|
{
|
||||||
rig_debug(RIG_DEBUG_VERBOSE,
|
rig_debug(RIG_DEBUG_VERBOSE,
|
||||||
"%s: PS command failed (ret=%d) so returning RIG_POWER_ON\n", __func__, ret);
|
"%s: PS command failed (ret=%d) so returning RIG_POWER_ON\n", __func__, ret);
|
||||||
|
@ -2809,7 +2809,7 @@ struct rig_caps netrigctl_caps =
|
||||||
RIG_MODEL(RIG_MODEL_NETRIGCTL),
|
RIG_MODEL(RIG_MODEL_NETRIGCTL),
|
||||||
.model_name = "NET rigctl",
|
.model_name = "NET rigctl",
|
||||||
.mfg_name = "Hamlib",
|
.mfg_name = "Hamlib",
|
||||||
.version = "20230617.0",
|
.version = "20230802.0",
|
||||||
.copyright = "LGPL",
|
.copyright = "LGPL",
|
||||||
.status = RIG_STATUS_STABLE,
|
.status = RIG_STATUS_STABLE,
|
||||||
.rig_type = RIG_TYPE_OTHER,
|
.rig_type = RIG_TYPE_OTHER,
|
||||||
|
|
Ładowanie…
Reference in New Issue