kopia lustrzana https://github.com/Hamlib/Hamlib
Fix several strerror that should be rigerror
rodzic
8e744a4ad7
commit
1a4e61b2dd
|
@ -324,7 +324,7 @@ int icom_transaction(RIG *rig, int cmd, int subcmd,
|
|||
|
||||
if (retval != RIG_OK)
|
||||
{
|
||||
rig_debug(RIG_DEBUG_VERBOSE, "%s: failed: %s\n", __func__, strerror(retval));
|
||||
rig_debug(RIG_DEBUG_VERBOSE, "%s: failed: %s\n", __func__, rigerror(retval));
|
||||
}
|
||||
|
||||
return retval;
|
||||
|
|
|
@ -1107,7 +1107,7 @@ int icom_get_freq(RIG *rig, vfo_t vfo, freq_t *freq)
|
|||
if (retval != RIG_OK)
|
||||
{
|
||||
rig_debug(RIG_DEBUG_ERR, "%s: set_vfo failed? retval=%s\n", __func__,
|
||||
strerror(retval));
|
||||
rigerror(retval));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -819,7 +819,7 @@ int ic10_set_channel(RIG *rig, const channel_t *chan)
|
|||
if (retval != RIG_OK)
|
||||
{
|
||||
rig_debug(RIG_DEBUG_ERR, "%s: transaction failed: %s\n", __func__,
|
||||
strerror(retval));
|
||||
rigerror(retval));
|
||||
return retval;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1313,7 +1313,7 @@ static int ft890_set_rit(RIG *rig, vfo_t vfo, shortfreq_t rit)
|
|||
if (err != RIG_OK)
|
||||
{
|
||||
rig_debug(RIG_DEBUG_ERR, "%s: clarifier off error: %s\n", __func__,
|
||||
strerror(err));
|
||||
rigerror(err));
|
||||
}
|
||||
|
||||
return err;
|
||||
|
|
|
@ -1319,7 +1319,7 @@ static int ft900_set_rit(RIG *rig, vfo_t vfo, shortfreq_t rit)
|
|||
if (err != RIG_OK)
|
||||
{
|
||||
rig_debug(RIG_DEBUG_ERR, "%s: clarifier off error: %s\n", __func__,
|
||||
strerror(err));
|
||||
rigerror(err));
|
||||
}
|
||||
|
||||
return err;
|
||||
|
|
|
@ -1818,7 +1818,7 @@ int HAMLIB_API rig_set_vfo(RIG *rig, vfo_t vfo)
|
|||
}
|
||||
else
|
||||
{
|
||||
rig_debug(RIG_DEBUG_ERR, "%s: set_vfo failed with '%s'\n", __func__, strerror(retcode));
|
||||
rig_debug(RIG_DEBUG_ERR, "%s: set_vfo %s failed with '%s'\n", __func__, rig_strvfo(vfo), rigerror(retcode));
|
||||
}
|
||||
|
||||
// we need to update our internal freq to avoid getting detected as twiddling
|
||||
|
|
Ładowanie…
Reference in New Issue