Subversion Repositories NaviCtrl

Rev

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

Rev 301 Rev 302
Line 407... Line 407...
407
                                        //if(!(FC.StatusFlags & FC_STATUS_FLY)) PointList_Clear(); // flush the list    
407
                                        //if(!(FC.StatusFlags & FC_STATUS_FLY)) PointList_Clear(); // flush the list    
408
                                        //pPoint->Index = 1; // must be one after empty list
408
                                        //pPoint->Index = 1; // must be one after empty list
409
                                        PointList_SetAt(pPoint);
409
                                        PointList_SetAt(pPoint);
410
                                        if(FC.StatusFlags & FC_STATUS_FLY) PointList_WPActive(TRUE);
410
                                        if(FC.StatusFlags & FC_STATUS_FLY) PointList_WPActive(TRUE);
411
                                        GPS_pWaypoint = PointList_WPBegin(); // updates POI index
411
                                        GPS_pWaypoint = PointList_WPBegin(); // updates POI index
-
 
412
                                        if(GPS_pWaypoint != NULL) // if new WP exist
-
 
413
                                        {   // update WP hold time stamp immediately!
-
 
414
/*                                              if(GPS_pWaypoint->Heading > 0 && GPS_pWaypoint->Heading <= 360)
-
 
415
                                                {
-
 
416
                                                 CAM_Orientation.Azimuth = GPS_pWaypoint->Heading;
-
 
417
                                                 CAM_Orientation.UpdateMask |= CAM_UPDATE_AZIMUTH;
-
 
418
                                                }
-
 
419
*/
-
 
420
                                        }
412
                                        BeepTime = 50;
421
                                        BeepTime = 50;
413
                                }
422
                                }
414
                                break;
423
                                break;
Line 415... Line 424...
415
 
424