Rev 504 | Rev 517 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 504 | Rev 513 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | #define WPL_STORE_TYPE_ABS 1 |
29 | #define WPL_STORE_TYPE_ABS 1 |
Line 30... | Line 30... | ||
30 | 30 | ||
31 | typedef struct |
31 | typedef struct |
32 | { |
32 | { |
33 | u8 Index; |
33 | u8 Index; |
34 | u8 res1; // 0 = rel, 1 = abs |
34 | u8 res1; |
35 | u8 OverwriteFile; // 0 = no, 1 = yes |
35 | u8 OverwriteFile; // 0 = no, 1 = yes |
36 | u8 reserved[7]; |
36 | u8 reserved[7]; |
37 | s8 Name[12]; |
37 | s8 Name[12]; |
Line 63... | Line 63... | ||
63 | #define WPL_ERROR 0 |
63 | #define WPL_ERROR 0 |
64 | #define WPL_OK 1 |
64 | #define WPL_OK 1 |
65 | #define WPL_FILEEXIST 2 |
65 | #define WPL_FILEEXIST 2 |
66 | #define WPL_NO_SDCARD_FOUND 3 |
66 | #define WPL_NO_SDCARD_FOUND 3 |
67 | #define WPL_NO_WAYPOINTS 4 |
67 | #define WPL_NO_WAYPOINTS 4 |
68 | u8 PointList_SaveToFile(WPL_Store_t * pWPL_Store); |
68 | u8 PointList_WriteToFile(WPL_Store_t * pWPL_Store); |
69 | // load actual point list from SD card |
69 | // load actual point list from SD card |
70 | u8 PointList_ReadFromFile(WPL_Store_t * pWPL_Store); |
70 | u8 PointList_ReadFromFile(WPL_Store_t * pWPL_Store); |
71 | // move actual point list to ref pos., the point in the list marked by RefIndex get the RefPos afterwards |
71 | // move actual point list to ref pos., the point in the list marked by RefIndex get the RefPos afterwards |
72 | u8 PointList_Move(u8 RefIndex, GPS_Pos_t* pRefPos, u16 RotationAngle); |
72 | u8 PointList_Move(u8 RefIndex, GPS_Pos_t* pRefPos, u16 RotationAngle); |
- | 73 | // save actual gps positiin and heading to file |
|
- | 74 | u8 PointList_SaveSinglePoint(WPL_Store_t * pWPL_Store); |
|
- | 75 | // load target gps positiin and heading from file |
|
- | 76 | u8 PointList_LoadSinglePoint(WPL_Store_t * pWPL_Store); |
|
- | 77 | ||
73 | extern void ClearWLP_Name(void); |
78 | extern void ClearWLP_Name(void); |
Line 74... | Line 79... | ||
74 | 79 |