Subversion Repositories NaviCtrl

Rev

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

Rev 642 Rev 695
Line 832... Line 832...
832
        if(WP.Heading == 0) WP.Heading = 360;
832
        if(WP.Heading == 0) WP.Heading = 360;
833
        WP.ToleranceRadius = 120; // 12m 
833
        WP.ToleranceRadius = 120; // 12m 
834
        WP.HoldTime  = 2;
834
        WP.HoldTime  = 2;
835
        WP.Index  = 1;
835
        WP.Index  = 1;
836
        WP.Type = POINT_TYPE_WP;
836
        WP.Type = POINT_TYPE_WP;
837
        WP.WP_EventChannelValue = 0;
837
        WP.WP_EventChannelValue = 100;
838
        if(FC.StatusFlags & FC_STATUS_FLY && ((FromFC_VarioCharacter != ' ') || (SimulationFlags & SIMULATION_ACTIVE))) // only in flight and if the Altitude control is enabled
838
        if(FC.StatusFlags & FC_STATUS_FLY && ((FromFC_VarioCharacter != ' ') || (SimulationFlags & SIMULATION_ACTIVE))) // only in flight and if the Altitude control is enabled
839
         {
839
         {
840
          WP.AltitudeRate = 255;  // Auto
840
          WP.AltitudeRate = 255;  // Auto
841
          WP.Position.Altitude = NaviData.SetpointAltitude / 2;
841
          WP.Position.Altitude = NaviData.SetpointAltitude / 2;
842
         }
842
         }