summaryrefslogtreecommitdiff
path: root/globals.c
blob: 86ea2e812e033e4a4867b160f545e5d1caaf1fc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "globals.h"
#include <time.h>

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);
}