/branches/V0.68d Code Redesign killagreg/fc.c |
---|
205,8 → 205,7 |
TurnOver180Pitch = (int32_t) ParamSet.AngleTurnOverPitch * 2500L; |
TurnOver180Roll = (int32_t) ParamSet.AngleTurnOverRoll * 2500L; |
ExternHightValue = 0; |
GPS_Pitch = 0; |
GPS_Roll = 0; |
GPS_Neutral(); |
} |
/************************************************************************/ |
606,6 → 605,7 |
Reading_IntegralGyroRoll2 = IntegralRoll; |
SumPitch = 0; |
SumRoll = 0; |
GPS_SetHomePosition(); |
} |
} |
else delay_startmotors = 0; // reset delay timer if sticks are not in this position |
1056,8 → 1056,7 |
} |
else |
{ |
GPS_Pitch = 0; |
GPS_Roll = 0; |
GPS_Neutral(); |
} |
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |