Removed an empty header file, documented all header files that required it, added...
[freeems-vanilla.git] / src / inc / main.h
blob3fb69fd54b3b97213a47e7152cac27304f595184
1 /* Copyright 2008 Fred Cooke
3 This file is part of the FreeEMS project.
5 FreeEMS software is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
10 FreeEMS software is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with any FreeEMS software. If not, see http://www.gnu.org/licenses/
18 We ask that if you make any changes to this file you email them upstream to
19 us at admin(at)diyefi(dot)org or, even better, fork the code on github.com!
21 Thank you for choosing FreeEMS to run your engine! */
24 /** @file main.h
25 * @ingroup allHeaders
29 /* Header file multiple inclusion protection courtesy eclipse Header Template */
30 /* and http://gcc.gnu.org/onlinedocs/gcc-3.1.1/cpp/ C pre processor manual */
31 #ifndef FILE_MAIN_H_SEEN
32 #define FILE_MAIN_H_SEEN
35 #include "freeEMS.h"
36 #include "interrupts.h"
37 #include "utils.h"
38 #include "init.h"
39 #include "commsISRs.h"
40 #include "commsCore.h"
41 #include "coreVarsGenerator.h"
42 #include "derivedVarsGenerator.h"
43 #include "fuelAndIgnitionCalcs.h"
46 /* Computer Operating Properly reset sequence MC9S12XDP512V2.PDF Section 2.4.1.5 */
47 #define COP_RESET1 0x55
48 #define COP_RESET2 0xAA
51 // temp method of ensuring logs sent only once per second
52 //unsigned short lastTime = 65535;
53 //unsigned short lastCalcCount;
56 #else
57 /* let us know if we are being untidy with headers */
58 #warning "Header file MAIN_H seen before, sort it out!"
59 /* end of the wrapper ifdef from the very top */
60 #endif