Subversion Repositories Projects

Rev

Rev 339 | Rev 675 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 339 Rev 407
Line 84... Line 84...
84
        u8  Reserve[4];                                 // for future use
84
        u8  Reserve[4];                                 // for future use
85
} __attribute__((packed)) NaviData_t;
85
} __attribute__((packed)) NaviData_t;
Line 86... Line 86...
86
 
86
 
87
/*
87
/*
88
 * MikroKopter Flags
88
 * MikroKopter Flags
89
 * portions taken and adapted from
89
 * taken from
90
 * http://svn.mikrokopter.de/mikrowebsvn/filedetails.php?repname=FlightCtrl&path=%2Ftags%2FV0.72p%2Fuart.h
90
 * http://svn.mikrokopter.de/mikrowebsvn/filedetails.php?repname=FlightCtrl&path=%2Ftags%2FV0.73d%2Ffc.h
91
 */
-
 
92
#define NC_FLAG_FREE                    1
-
 
93
#define NC_FLAG_PH                      2
-
 
94
#define NC_FLAG_CH                      4
-
 
95
#define NC_FLAG_RANGE_LIMIT             8
-
 
96
#define NC_SERIAL_LINK_OK               16
-
 
97
#define NC_FLAG_TARGET_REACHED          32
-
 
98
 
91
 */
99
#define FLAG_MOTOR_RUN  1
92
#define FLAG_MOTOR_RUN  1
100
#define FLAG_FLY        2
93
#define FLAG_FLY        2
101
#define FLAG_CALIBRATE  4
94
#define FLAG_CALIBRATE  4
-
 
95
#define FLAG_START      8
-
 
96
 
-
 
97
/*
-
 
98
 * NaviCtrl Flags
-
 
99
 * taken from
-
 
100
 * http://mikrocontroller.cco-ev.de/mikrowebsvn/filedetails.php?repname=NaviCtrl&path=%2Ftags%2FV0.15c%2Fuart1.h
-
 
101
 */
-
 
102
#define NC_FLAG_FREE                    0x01
-
 
103
#define NC_FLAG_PH                              0x02
-
 
104
#define NC_FLAG_CH                              0x04
-
 
105
#define NC_FLAG_RANGE_LIMIT             0x08
-
 
106
#define NC_FLAG_NOSERIALLINK    0x10
-
 
107
#define NC_FLAG_TARGET_REACHED  0x20
-
 
108
#define NC_FLAG_MANUAL_CONTROL  0x40
-
 
109
#define NC_FLAG_8                               0x80
-
 
110