kopia lustrzana https://github.com/Hamlib/Hamlib
Fix cppcheck style
rodzic
2c81d04ec0
commit
8cf3d5c02c
|
@ -142,7 +142,7 @@ Also a way to display faults (there are commands)
|
||||||
|
|
||||||
static int dummy_amp_get_freq(AMP *amp, freq_t *freq)
|
static int dummy_amp_get_freq(AMP *amp, freq_t *freq)
|
||||||
{
|
{
|
||||||
struct dummy_amp_priv_data *priv = (struct dummy_amp_priv_data *)
|
const struct dummy_amp_priv_data *priv = (struct dummy_amp_priv_data *)
|
||||||
amp->state.priv;
|
amp->state.priv;
|
||||||
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
|
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
|
||||||
*freq = priv->freq;
|
*freq = priv->freq;
|
||||||
|
@ -266,7 +266,7 @@ static int dummy_amp_set_powerstat(AMP *amp, powerstat_t status)
|
||||||
|
|
||||||
static int dummy_amp_get_powerstat(AMP *amp, powerstat_t *status)
|
static int dummy_amp_get_powerstat(AMP *amp, powerstat_t *status)
|
||||||
{
|
{
|
||||||
struct dummy_amp_priv_data *priv = (struct dummy_amp_priv_data *)
|
const struct dummy_amp_priv_data *priv = (struct dummy_amp_priv_data *)
|
||||||
amp->state.priv;
|
amp->state.priv;
|
||||||
|
|
||||||
*status = priv->powerstat;
|
*status = priv->powerstat;
|
||||||
|
|
Ładowanie…
Reference in New Issue