summaryrefslogtreecommitdiff
path: root/globals.h
diff options
context:
space:
mode:
authorMike <mjc@avtechpulse.com>2000-01-01 01:50:34 +0900
committerMike <mjc@avtechpulse.com>2000-01-01 01:50:34 +0900
commit10a8d96cc8c5dd44a68c2ce70b29534a72091b70 (patch)
treeef1e8e4ad5636983e18bea22aa0fe6a1a580b75f /globals.h
parentf1454040ac26cebde1ab007b90d3b475e39ca6da (diff)
make max step size deviation configurableINSTRUMENT_6_4_08b
Diffstat (limited to 'globals.h')
-rw-r--r--globals.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/globals.h b/globals.h
index 85d81d4..f8379ee 100644
--- a/globals.h
+++ b/globals.h
@@ -351,7 +351,7 @@ typedef struct {
#define CURR_MON_MAX_OLD_COUNTS 50 // monitor readings are around 50/sec, average over one second
-#define MAX_STEP_DEV_FROM_AVG 5 // reset monitor average if more than N steps difference
+#define DEFAULT_MAX_STEP_DEV_FROM_AVG 5 // reset monitor average if more than N steps difference
typedef struct {
float frequency; /* the global frequency variable */
@@ -830,7 +830,9 @@ typedef struct {
float cap_for_pw_rc_limit[max_channels]; // size 8, addr 37396 - for AVR-8F-B
float hvps_avg_curr_limit[max_channels]; // size 8, addr 37404 - for AVR-8F-B
- char flash_end; // addr 37412
+ float max_mon_steps_before_reset_average[max_channels]; // size 8, addr 37412 - 5 steps for AVO-8E3, maybe more for 156A?
+
+ char flash_end; // addr 37420
} FlashStruct;
#pragma pack(pop)