conf: use enum for RX filter
This commit is contained in:
parent
aee42fada8
commit
a06c9909a6
1 changed files with 7 additions and 5 deletions
12
conf.h
12
conf.h
|
@ -118,16 +118,18 @@ extern char *CNF_GetHwclockFile(void);
|
||||||
extern int CNF_GetInitSources(void);
|
extern int CNF_GetInitSources(void);
|
||||||
extern double CNF_GetInitStepThreshold(void);
|
extern double CNF_GetInitStepThreshold(void);
|
||||||
|
|
||||||
#define CNF_HWTS_RXFILTER_ANY 0
|
typedef enum {
|
||||||
#define CNF_HWTS_RXFILTER_NONE 1
|
CNF_HWTS_RXFILTER_ANY,
|
||||||
#define CNF_HWTS_RXFILTER_NTP 2
|
CNF_HWTS_RXFILTER_NONE,
|
||||||
#define CNF_HWTS_RXFILTER_ALL 3
|
CNF_HWTS_RXFILTER_NTP,
|
||||||
|
CNF_HWTS_RXFILTER_ALL,
|
||||||
|
} CNF_HwTs_RxFilter;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char *name;
|
char *name;
|
||||||
int minpoll;
|
int minpoll;
|
||||||
int nocrossts;
|
int nocrossts;
|
||||||
int rxfilter;
|
CNF_HwTs_RxFilter rxfilter;
|
||||||
double precision;
|
double precision;
|
||||||
double tx_comp;
|
double tx_comp;
|
||||||
double rx_comp;
|
double rx_comp;
|
||||||
|
|
Loading…
Reference in a new issue