Rev 447 | Rev 454 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 447 | Rev 451 | ||
---|---|---|---|
Line 434... | Line 434... | ||
434 | PointList_SetAt(pPoint); |
434 | PointList_SetAt(pPoint); |
435 | if(FC.StatusFlags & FC_STATUS_FLY) PointList_WPActive(TRUE); |
435 | if(FC.StatusFlags & FC_STATUS_FLY) PointList_WPActive(TRUE); |
436 | GPS_pWaypoint = PointList_WPBegin(); // updates POI index |
436 | GPS_pWaypoint = PointList_WPBegin(); // updates POI index |
437 | if(GPS_pWaypoint != NULL) // if new WP exist |
437 | if(GPS_pWaypoint != NULL) // if new WP exist |
438 | { // update WP hold time stamp immediately! |
438 | { // update WP hold time stamp immediately! |
- | 439 | EnableNewWpHeading(); |
|
439 | /* if(GPS_pWaypoint->Heading > 0 && GPS_pWaypoint->Heading <= 360) |
440 | /* if(GPS_pWaypoint->Heading > 0 && GPS_pWaypoint->Heading <= 360) |
440 | { |
441 | { |
441 | CAM_Orientation.Azimuth = GPS_pWaypoint->Heading; |
442 | CAM_Orientation.Azimuth = GPS_pWaypoint->Heading; |
442 | CAM_Orientation.UpdateMask |= CAM_UPDATE_AZIMUTH; |
443 | CAM_Orientation.UpdateMask |= CAM_UPDATE_AZIMUTH; |
443 | } |
444 | } |