summaryrefslogtreecommitdiff
path: root/globals.h
diff options
context:
space:
mode:
authormjc <mjc@avtechpulse.com>2000-01-01 00:01:01 +0900
committermjc <mjc@avtechpulse.com>2000-01-01 00:01:01 +0900
commit21423c3785df243d03cde5bc7817445f95e8fba1 (patch)
treec8cfec7b59f99ea52f54fbde696ee4ae6283cbc8 /globals.h
parent4dc26232f303ff91955ed5656da5bae6d8978242 (diff)
make self-cal min count configurable
Diffstat (limited to 'globals.h')
-rw-r--r--globals.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/globals.h b/globals.h
index 147eb7e..a55c4ca 100644
--- a/globals.h
+++ b/globals.h
@@ -231,6 +231,7 @@
// hardware default values
#define DEFAULT_OUTPUT_ON_DELAY 0.8 // needs at least 800 ms, due to soft-on circuit
#define SELF_CAL_REF_FREQ 1e7 // 10 MHz
+#define SELF_CAL_MIN_COUNT 400 // 1 in 400
// menu stuff
#define Main_Menu_On 0
@@ -465,8 +466,9 @@ typedef struct {
char prf_limiter; /* 243 */
float self_cal_ref_freq; /* 244 */
+ short self_cal_min_count; /* 248 */
- char spare_padding[8]; /* 248 - padding between common and per-channel sections of the */
+ char spare_padding[6]; /* 250 - padding between common and per-channel sections of the */
/* flash eeprom. Adjust size if variables added to common section, */
/* so that per-channel section starts at 256 */