kopia lustrzana https://github.com/Hamlib/Hamlib
Fix cppcheck style
rodzic
89214bf132
commit
2f818472ab
|
@ -614,7 +614,7 @@ int drake_get_mem(RIG *rig, vfo_t vfo, int *ch)
|
|||
*/
|
||||
int drake_set_chan(RIG *rig, vfo_t vfo, const channel_t *chan)
|
||||
{
|
||||
struct drake_priv_data *priv = rig->state.priv;
|
||||
const struct drake_priv_data *priv = rig->state.priv;
|
||||
vfo_t old_vfo;
|
||||
int old_chan;
|
||||
char mdbuf[16], ackbuf[16];
|
||||
|
@ -670,7 +670,7 @@ int drake_set_chan(RIG *rig, vfo_t vfo, const channel_t *chan)
|
|||
*/
|
||||
int drake_get_chan(RIG *rig, vfo_t vfo, channel_t *chan, int read_only)
|
||||
{
|
||||
struct drake_priv_data *priv = rig->state.priv;
|
||||
const struct drake_priv_data *priv = rig->state.priv;
|
||||
vfo_t old_vfo;
|
||||
int old_chan;
|
||||
char mdbuf[BUFSZ], freqstr[BUFSZ];
|
||||
|
@ -882,7 +882,7 @@ int drake_get_chan(RIG *rig, vfo_t vfo, channel_t *chan, int read_only)
|
|||
*/
|
||||
int drake_vfo_op(RIG *rig, vfo_t vfo, vfo_op_t op)
|
||||
{
|
||||
struct drake_priv_data *priv = rig->state.priv;
|
||||
const struct drake_priv_data *priv = rig->state.priv;
|
||||
char buf[16], ackbuf[16];
|
||||
int len, ack_len, retval;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue