Subversion Repositories NaviCtrl

Compare Revisions

Ignore whitespace Rev 548 → Rev 549

/trunk/main.h
14,7 → 14,7
 
#define VERSION_MAJOR 2
#define VERSION_MINOR 6
#define VERSION_PATCH 7
#define VERSION_PATCH 8
// 0 = A
// 1 = B
// 2 = C
224,8 → 224,10
extern u16 SD_DPH_Speed;
extern u32 MaxWP_Radius_in_m;
extern u8 SpeakWaypointRached; // Speak once as soon as the Points are active
extern u8 SpeakNextWaypoint; // Speak once when reached
extern u8 SpeakNextWaypoint; // Speak once when reached
extern u8 NewWaypointsReceived; // when 1: activates the Waypoint list as soon as CH is started
 
 
#define CHECK_ONLY 0
#define GET_LICENSE 1
#define COPY_SD_TO_EE 2
/trunk/waypoints.c
227,6 → 227,7
if(WPIndex) // found a WP in the list
{
NaviData.WaypointIndex = 1;
NewWaypointsReceived = 1; // activates the Waypoint list as soon as CH is started
// update index to POI
if(PointList[WPIndex-1].Heading < 0) POIIndex = (u8)(-PointList[WPIndex-1].Heading);
else POIIndex = 0;
803,7 → 804,7
 
// clear current point list
if((NC_GPS_ModeCharacter != 'w') && (NC_GPS_ModeCharacter != 'W')) PointList_Clear();
else
else // es ist gearde ein Wegpunktflug aktiv -> updaten
{
if(FC.StatusFlags & FC_STATUS_FLY) PointList_WPActive(TRUE);
GPS_pWaypoint = PointList_WPBegin(); // updates POI index