Subversion Repositories NaviCtrl

Compare Revisions

Ignore whitespace Rev 104 → Rev 105

/trunk/GPS.c
204,6 → 204,8
{
BeepTime = 100; // beep to indicate that mode has been switched
NCFlags &= ~NC_FLAG_TARGET_REACHED;
 
if(GPS_Parameter.FlightMode == GPS_FLIGHT_MODE_WAYPOINT) GPS_pWaypoint = WPList_Begin(); // reset WPList to begin
}
FlightMode_Old = GPS_Parameter.FlightMode;
}
467,9 → 469,6
// the GPS supports the position hold, if the pilot takes no action
case GPS_FLIGHT_MODE_AID:
 
// reset WPList to begin
GPS_pWaypoint = WPList_Begin();
 
if(GPS_IsManuallyControlled())
{
GPS_Parameter.PID_Limit = 0; // disables PID output, as long as the manual conrol is active