kopia lustrzana https://github.com/Hamlib/Hamlib
Coding style edits
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3055 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.13
rodzic
d78648a170
commit
55736a7427
|
@ -21,7 +21,7 @@
|
|||
#ifndef _ELECRAFT_H
|
||||
#define _ELECRAFT_H 1
|
||||
|
||||
#include "hamlib/rig.h"
|
||||
#include <hamlib/rig.h>
|
||||
|
||||
/* The Elecraft Programmer's Reference details the extension level that
|
||||
* a K2 or K3 may have in effect which modify certain commands.
|
||||
|
|
|
@ -316,8 +316,9 @@ int k2_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
|
|||
} else if ((flt->filt_list[3].width >= width) && (width >= freq)) {
|
||||
width = flt->filt_list[3].width;
|
||||
f = '4';
|
||||
} else
|
||||
} else {
|
||||
return -RIG_EINVAL;
|
||||
}
|
||||
|
||||
/* Construct the filter command and set the radio mode and width*/
|
||||
snprintf(fcmd, 8, "FW0000%c", f);
|
||||
|
|
Ładowanie…
Reference in New Issue