Subversion Repositories NaviCtrl

Rev

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

Rev 497 Rev 499
Line 448... Line 448...
448
                                        //if(!(FC.StatusFlags & FC_STATUS_FLY)) PointList_Clear(); // flush the list
448
                                        //if(!(FC.StatusFlags & FC_STATUS_FLY)) PointList_Clear(); // flush the list
449
                                        //pPoint->Index = 1; // must be one after empty list
449
                                        //pPoint->Index = 1; // must be one after empty list
450
                                        PointList_SetAt(pPoint);
450
                                        PointList_SetAt(pPoint);
451
                                        if(FC.StatusFlags & FC_STATUS_FLY) PointList_WPActive(TRUE);
451
                                        if(FC.StatusFlags & FC_STATUS_FLY) PointList_WPActive(TRUE);
452
                                        GPS_pWaypoint = PointList_WPBegin(); // updates POI index
452
                                        GPS_pWaypoint = PointList_WPBegin(); // updates POI index
453
                                        if(GPS_pWaypoint != NULL) // if new WP exist
-
 
454
                                        {   // update WP hold time stamp immediately!
-
 
455
                                                EnableNewWpHeading();
-
 
456
/*                                              if(GPS_pWaypoint->Heading > 0 && GPS_pWaypoint->Heading <= 360)
-
 
457
                                                {
-
 
458
                                                 CAM_Orientation.Azimuth = GPS_pWaypoint->Heading;
-
 
459
                                                 CAM_Orientation.UpdateMask |= CAM_UPDATE_AZIMUTH;
-
 
460
                                                }
-
 
461
*/
-
 
462
                                        }
-
 
463
                                        BeepTime = 50;
453
                                        BeepTime = 50;
464
                                }
454
                                }
465
                                break;
455
                                break;
Line 466... Line 456...
466
 
456