summaryrefslogtreecommitdiff
path: root/globals.h
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-24 13:09:48 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-24 13:09:48 -0400
commit6289747b35eef38cca5d5d3076b4ec6d33f9053f (patch)
tree12b1a38708e4d5e15e8712e4e469eb626a925692 /globals.h
parentbadac819cb07b684197295f2b516a023a4725a62 (diff)
set flags to default values upon reset
Diffstat (limited to 'globals.h')
-rw-r--r--globals.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/globals.h b/globals.h
index 66281c0..5b60671 100644
--- a/globals.h
+++ b/globals.h
@@ -728,6 +728,9 @@ typedef struct {
} ErrorStruct;
+
+// note flags with non-zero default/reset values in globals.c
+// for example, do_check_settings=1 by default
typedef struct {
int extended_ampl_min_max;
int do_check_settings;
@@ -754,12 +757,12 @@ typedef struct {
ChangeStruct Changes;
ErrorStruct Errors;
FlagStruct Flags;
+ FlagStruct DefaultFlags;
TimeStruct Timers;
} GlobalStruct;
extern GlobalStruct globals;
-
#endif