Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 984 → Rev 985

/branches/KalmanFilter MikeW/main.c
32,7 → 32,8
VARIABLES
*****************************************************************************/
extern int RCQuality;
int RemoteLinkLost;
int RemoteLinkLost = 0;
int InvalidAttitude = 0;
extern unsigned long maxDistance;
unsigned char EEPromArray[E2END+1] EEMEM;
 
196,7 → 197,6
**************************************************************************** */
void DeployRescue()
{
static int InvalidAttitude = 0;
/* Yaw or pitch are greater than 90 Deg abs */
if (((abs(status.iTheta10) > 900) || (abs(status.iPhi10) > 900)) &&
((abs(AverageRoll) > 400) ||