Subversion Repositories Projects

Rev

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

Rev 728 Rev 734
Line 104... Line 104...
104
} __attribute__((packed)) NaviData_t;
104
} __attribute__((packed)) NaviData_t;
105
 
105
 
106
 
106
 
107
/*
107
/*
108
 * MikroKopter Flags
108
 * MikroKopter Flags
109
 * taken from
109
 * taken from
110
 * http://svn.mikrokopter.de/mikrowebsvn/filedetails.php?repname=FlightCtrl&path=%2Ftags%2FV0.73d%2Ffc.h
110
 * http://svn.mikrokopter.de/mikrowebsvn/filedetails.php?repname=FlightCtrl&path=%2Ftags%2FV0.78b%2Ffc.h
111
 */
111
 */
112
#define FLAG_MOTOR_RUN  1
112
#define FCFLAG_MOTOR_RUN        0x01
113
#define FLAG_FLY        2
113
#define FCFLAG_FLY              0x02
114
#define FLAG_CALIBRATE  4
114
#define FCFLAG_CALIBRATE        0x04
-
 
115
#define FCFLAG_START            0x08
-
 
116
#define FCFLAG_NOTLANDUNG       0x10
-
 
117
#define FCFLAG_LOWBAT           0x20
-
 
118
#define FCFLAG_SPI_RX_ERR       0x40
-
 
119
#define FCFLAG_I2CERR           0x80
-
 
120
 
-
 
121
// backward compat
-
 
122
#define FLAG_MOTOR_RUN  FCFLAG_MOTOR_RUN
-
 
123
#define FLAG_FLY        FCFLAG_FLY
-
 
124
#define FLAG_CALIBRATE  FCFLAG_CALIBRATE
115
#define FLAG_START      8
125
#define FLAG_START      FCFLAG_START
116
 
126
 
117
/*
127
/*
118
 * NaviCtrl Flags
128
 * NaviCtrl Flags
119
 * taken from
129
 * taken from