Rev 402 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 402 | Rev 1340 | ||
---|---|---|---|
1 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
2 | // + Copyright (c) 04.2007 Holger Buss |
2 | // + Copyright (c) Holger Buss, Ingo Busker |
3 | // + only for non-profit use |
3 | // + only for non-profit use |
4 | // + www.MikroKopter.com |
4 | // + www.MikroKopter.com |
5 | // + see the File "License.txt" for further Informations |
5 | // + see the File "License.txt" for further Informations |
6 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
6 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
7 | #include "main.h" |
7 | #include "main.h" |
8 | 8 | ||
9 | signed int GPS_Nick = 0; |
9 | signed int GPS_Nick = 0; |
10 | signed int GPS_Roll = 0; |
10 | signed int GPS_Roll = 0; |
11 | long GpsAktuell_X = 0; |
11 | long GpsAktuell_X = 0; |
12 | long GpsAktuell_Y = 0; |
12 | long GpsAktuell_Y = 0; |
13 | long GpsZiel_X = 0; |
13 | long GpsZiel_X = 0; |
14 | long GpsZiel_Y = 0; |
14 | long GpsZiel_Y = 0; |
15 | 15 | ||
16 | void GPS_Neutral(void) |
16 | void GPS_Neutral(void) |
17 | { |
17 | { |
18 | GpsZiel_X = GpsAktuell_X; |
18 | GpsZiel_X = GpsAktuell_X; |
19 | GpsZiel_Y = GpsAktuell_Y; |
19 | GpsZiel_Y = GpsAktuell_Y; |
20 | } |
20 | } |
21 | 21 | ||
22 | void GPS_BerechneZielrichtung(void) |
22 | void GPS_BerechneZielrichtung(void) |
23 | { |
23 | { |
24 | GPS_Nick = 0; |
24 | GPS_Nick = 0; |
25 | GPS_Roll = 0; |
25 | GPS_Roll = 0; |
26 | } |
26 | } |
27 | 27 | ||
28 | 28 | ||
29 | 29 | ||
30 | 30 | ||
31 | 31 |