Rev 785 | Rev 844 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 785 | Rev 802 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | #define _WAYPOINTS_H |
2 | #define _WAYPOINTS_H |
Line 3... | Line 3... | ||
3 | 3 | ||
Line 4... | Line 4... | ||
4 | #include "ubx.h" |
4 | #include "ubx.h" |
5 | 5 | ||
6 | #define POINT_TYPE_INVALID 255 |
6 | #define POINT_TYPE_INVALID 255 |
7 | #define POINT_TYPE_WP 0 |
7 | #define POINT_TYPE_WP 0 |
8 | #define POINT_TYPE_POI 1 |
8 | #define POINT_TYPE_POI 1 |
- | 9 | #define POINT_TYPE_FS 2 |
|
Line 9... | Line 10... | ||
9 | #define POINT_TYPE_FS 2 |
10 | #define POINT_TYPE_LAND 3 |
10 | #define POINT_TYPE_LAND 3 |
11 | #define POINT_TYPE_FLYZONE 4 |
Line 11... | Line 12... | ||
11 | 12 | ||
Line 79... | Line 80... | ||
79 | // save actual gps positiin and heading to file |
80 | // save actual gps positiin and heading to file |
80 | u8 PointList_SaveSinglePoint(WPL_Store_t * pWPL_Store); |
81 | u8 PointList_SaveSinglePoint(WPL_Store_t * pWPL_Store); |
81 | // load target gps positiin and heading from file |
82 | // load target gps positiin and heading from file |
82 | u8 PointList_LoadSinglePoint(WPL_Store_t * pWPL_Store); |
83 | u8 PointList_LoadSinglePoint(WPL_Store_t * pWPL_Store); |
Line -... | Line 84... | ||
- | 84 | ||
- | 85 | s32 CheckPositionInFlyzone(s32 Longitude, s32 Latitude, u8 UpdateTimer); |
|
83 | 86 | ||
84 | extern u32 SD_WaypointTimeout; // Setting on SD-Card |
87 | extern u32 SD_WaypointTimeout; // Setting on SD-Card |
85 | extern void ClearWLP_Name(void); |
88 | extern void ClearWLP_Name(void); |
86 | extern s16 HeadingOld; |
89 | extern s16 HeadingOld; |
87 | extern Point_t PointList[MAX_LIST_LEN]; |
90 | extern Point_t PointList[MAX_LIST_LEN]; |
Line 88... | Line 91... | ||
88 | extern u8 FsPointCnt; |
91 | extern u8 FsPointCnt; |
89 | 92 | ||
90 | extern u8 PointCount; |
93 | extern u8 PointCount; |
91 | extern u8 POICount; |
- | |
- | 94 | extern u8 POICount; |
|
Line 92... | Line 95... | ||
92 | extern u8 WPCount; |
95 | extern u8 WPCount; |