#include "globals.h" #include GlobalStruct globals = { .error_queue = {0}, .number_of_errors = 0, .Flash.fully_programmed = Not_Programmed, .extended_ampl_min_max = 0, .do_check_settings = 1, .oper_enable_register = 0, .ques_enable_register = 0, .flash_writes_suspended = 0 }; long sec_timer (void) { return (long)time(NULL); }