kopia lustrzana https://github.com/Hamlib/Hamlib
Fix cppcheck warnings in k2.c
rodzic
a936dc5e59
commit
f6b55762df
|
@ -343,7 +343,7 @@ int k2_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
|
||||||
width = rig_passband_normal(rig, mode);
|
width = rig_passband_normal(rig, mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (width > flt->filt_list[0].width || ((flt->filt_list[0].width >= width)
|
if ((width > flt->filt_list[0].width) || ((flt->filt_list[0].width >= width)
|
||||||
&& (width > flt->filt_list[1].width)))
|
&& (width > flt->filt_list[1].width)))
|
||||||
{
|
{
|
||||||
width = flt->filt_list[0].width;
|
width = flt->filt_list[0].width;
|
||||||
|
|
Ładowanie…
Reference in New Issue