Subversion Repositories NaviCtrl

Rev

Rev 250 | Rev 255 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 250 Rev 254
Line 3... Line 3...
3
 
3
 
4
//-----------------------
4
//-----------------------
5
//#define DEBUG 1
5
//#define DEBUG 1
Line 6... Line -...
6
//-----------------------
-
 
7
 
6
//-----------------------
8
 
7
 
9
#define VERSION_MAJOR   0
8
#define VERSION_MAJOR   0
Line 10... Line 9...
10
#define VERSION_MINOR   21
9
#define VERSION_MINOR   21
Line 15... Line 14...
15
 
14
 
16
#define FC_SPI_COMPATIBLE               14
15
#define FC_SPI_COMPATIBLE               14
Line 17... Line 16...
17
#define MK3MAG_I2C_COMPATIBLE   3
16
#define MK3MAG_I2C_COMPATIBLE   3
-
 
17
 
-
 
18
// FC FLAGS
18
 
19
// tbd: Trennen in Error Flags und Status Flags!!!
19
// FC FLAGS
20
// aufnehmen. 
20
#define FCFLAG_MOTOR_RUN                                0x01
21
#define FCFLAG_MOTOR_RUN                                0x01
21
#define FCFLAG_FLY                                      0x02
22
#define FCFLAG_FLY                                      0x02
22
#define FCFLAG_CALIBRATE                                0x04
23
#define FCFLAG_CALIBRATE                                0x04
23
#define FCFLAG_START                                    0x08
24
#define FCFLAG_START                                    0x08
24
#define FCFLAG_EMERGENCY_LANDING        0x10
25
#define FCFLAG_EMERGENCY_LANDING        0x10
25
#define FCFLAG_LOWBAT                           0x20
26
#define FCFLAG_LOWBAT                           0x20
Line 26... Line 27...
26
#define FCFLAG_SPI_RX_ERR                       0x40
27
#define FCFLAG_SPI_RX_ERR                       0x40
27
#define FCFLAG_RESERVE1                         0x80
28
#define FCFLAG_I2CERR                           0x80
28
 
29
 
29
// NC Errors
30
// NC Errors