diff options
Diffstat (limited to 'globals.h')
-rw-r--r-- | globals.h | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -742,17 +742,23 @@ typedef struct { // note flags with non-zero default/reset values in globals.c // for example, do_check_settings=1 by default +// These flags are reset by Main_Rst typedef struct { int extended_ampl_min_max; int do_check_settings; int flash_writes_suspended; int force_output_fully_off; - int shutdown_started; - int flash_write_in_progress; - int startup_complete; } FlagStruct; +// These flags are NOT reset by Main_Rst, and default to 0 +typedef struct { + int shutdown_started; + int flash_write_in_progress; + int startup_complete; +} SysFlagStruct; + + typedef struct { long startup_timer_value; long last_activity_at[max_channels]; @@ -782,6 +788,7 @@ typedef struct { ErrorStruct Errors; FlagStruct Flags; FlagStruct DefaultFlags; + SysFlagStruct Sys; TimeStruct Timers; MenuStatusStruct MenuStatus; RemoteStruct Remote; |