Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1704 | - | 1 | #ifndef _MAIN_H |
2 | #define _MAIN_H |
||
3 | |||
4 | #include <avr/io.h> |
||
5 | #define SYSCLK F_CPU |
||
6 | |||
7 | |||
8 | typedef enum |
||
9 | { |
||
10 | STATE_UNDEFINED, |
||
11 | STATE_IDLE, |
||
12 | STATE_SEND_FOLLOWME |
||
13 | } SysState_t; |
||
14 | |||
15 | #define ERROR_GPS_RX_TIMEOUT 0x0001 |
||
16 | #define ERROR_LOW_BAT 0x0002 |
||
17 | |||
18 | extern uint16_t Error; |
||
19 | extern int16_t UBat; |
||
20 | extern SysState_t SysState; |
||
21 | |||
22 | #endif //_MAIN_H |
||
23 | |||
24 | |||
25 | |||
26 | |||
27 | |||
28 | |||
29 |