Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 775 → Rev 776

/branches/V0.68d Code Redesign killagreg/fc.c
625,7 → 625,10
Reading_IntegralGyroRoll2 = IntegralRoll;
SumPitch = 0;
SumRoll = 0;
GPS_SetHomePosition();
if(ParamSet.GlobalConfig & CFG_GPS_ACTIVE)
{
GPS_SetHomePosition();
}
}
}
else delay_startmotors = 0; // reset delay timer if sticks are not in this position
639,7 → 642,10
delay_stopmotors = 200; // do not repeat if once executed
Model_Is_Flying = 0;
MotorsOn = 0;
GPS_ClearHomePosition();
if(ParamSet.GlobalConfig & CFG_GPS_ACTIVE)
{
GPS_ClearHomePosition();
}
}
}
else delay_stopmotors = 0; // reset delay timer if sticks are not in this position