-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefconfig.h
More file actions
125 lines (95 loc) · 1.76 KB
/
defconfig.h
File metadata and controls
125 lines (95 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/*
* Default config values for features.
* Pinouts and filter configs have no defaults.
*/
#ifndef DEFCONFIG_H
#define DEFCONFIG_H
// Config Defaults
#ifndef HAVE_PTT
#define HAVE_PTT 0
#endif
#ifndef HAVE_CW
#define HAVE_CW 0
#endif
#ifndef HAVE_CW_SENDER
#define HAVE_CW_SENDER 0
#endif
#ifndef HAVE_CW_BEACON
#define HAVE_CW_BEACON 0
#endif
#ifndef HAVE_FSQ_BEACON
#define HAVE_FSQ_BEACON 0
#endif
#ifndef HAVE_BFO
#define HAVE_BFO 0
#endif
#ifndef HAVE_SHUTTLETUNE
#define HAVE_SHUTTLETUNE 0
#endif
#ifndef HAVE_SAVESTATE
#define HAVE_SAVESTATE 0
#endif
#ifndef HAVE_MENU
#define HAVE_MENU 0
#endif
#ifndef HAVE_CHANNELS
#define HAVE_CHANNELS 0
#endif
#ifndef HAVE_FILTERS
#define HAVE_FILTERS 0
#endif
#ifndef HAVE_PULSE
#define HAVE_PULSE 0
#endif
#ifndef HAVE_SWR
#define HAVE_SWR 0
#endif
#ifndef HAVE_SMETER
#define HAVE_SMETER 0
#endif
#ifndef HAVE_CAT
#define HAVE_CAT 0
#endif
#ifndef CAT_MINIMAL
#define CAT_MINIMAL 0
#endif
#ifndef HAVE_ANALYSER
#define HAVE_ANALYSER 0
#endif
#ifndef TUNE_BANDS_ONLY
#define TUNE_BANDS_ONLY 2
#endif
// Turn some stuff back off if requirements aren't met
#if !HAVE_PTT
#undef HAVE_ANALYSER
#undef HAVE_CW
#define HAVE_ANALYSER 0
#define HAVE_CW 0
#endif
#if HAVE_CW<2
#undef HAVE_CW_SENDER
#define HAVE_CW_SENDER 0
#endif
#if !HAVE_CW_SENDER
#undef HAVE_CW_BEACON
#define HAVE_CW_BEACON 0
#endif
#if !HAVE_CW
#undef HAVE_FSQ_BEACON
#define HAVE_FSQ_BEACON 0
#endif
#if !HAVE_SWR
#undef HAVE_ANALYSER
#define HAVE_ANALYSER 0
#endif
#if !HAVE_SAVESTATE
#undef HAVE_CHANNELS
#define HAVE_CHANNELS 0
#endif
#if !HAVE_MENU
#undef HAVE_CHANNELS
#undef HAVE_ANALYSER
#define HAVE_ANALYSER 0
#define HAVE_CHANNELS 0
#endif
#endif