Subversion Repositories Projects

Rev

Rev 406 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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