Rev 1189 | Rev 1197 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1189 | Rev 1193 | ||
---|---|---|---|
Line 26... | Line 26... | ||
26 | if(!delay--) // 10ms Intervall |
26 | if(!delay--) // 10ms Intervall |
27 | { |
27 | { |
Line 28... | Line 28... | ||
28 | 28 | ||
Line 29... | Line 29... | ||
29 | delay = 4; |
29 | delay = 4; |
30 | 30 | ||
31 | //wenn Höhe halten an -> UserParameter 1 |
31 | //nur Höhe an |
32 | if(HoehenReglerAktiv > 0 ) |
32 | if(HoehenReglerAktiv > 0 && Parameter_NaviGpsModeControl > 90 && Parameter_NaviGpsModeControl < 200) |
33 | { |
33 | { |
34 | if(!J16Blinkcount--) |
34 | if(!J16Blinkcount--) |
35 | { |
35 | { |
36 | J16Blinkcount = Parameter_J16Timing-1; |
36 | J16Blinkcount = Parameter_J16Timing-1; |
37 | if(J16Mask == 1) J16Mask = 128; else J16Mask /= 2; |
37 | if(J16Mask == 1) J16Mask = 128; else J16Mask /= 2; |
38 | if(J16Mask & EE_Parameter.UserParam1) J16_ON; else J16_OFF; |
38 | if(J16Mask & EE_Parameter.UserParam1) J16_ON; else J16_OFF; |
Line 39... | Line 39... | ||
39 | } |
39 | } |
40 | } |
40 | } |
41 | 41 | ||
42 | //Wenn AID oder Pos.Hold an -> UserParameter2 |
42 | //AID |
43 | else |
43 | else |
44 | if(Parameter_NaviGpsModeControl < 100 ) |
44 | if(Parameter_NaviGpsModeControl < 100 ) |
Line 50... | Line 50... | ||
50 | if(J16Mask & EE_Parameter.UserParam2) J16_ON; else J16_OFF; |
50 | if(J16Mask & EE_Parameter.UserParam2) J16_ON; else J16_OFF; |
51 | } |
51 | } |
52 | } |
52 | } |
53 | else |
53 | else |
Line 54... | Line 54... | ||
54 | 54 | ||
55 | //wenn Coming Home an -> UserPArameter 3 |
55 | //CH |
56 | if(Parameter_NaviGpsModeControl > 150 ) |
56 | if(Parameter_NaviGpsModeControl > 150 ) |
57 | { |
57 | { |
58 | if(!J16Blinkcount--) |
58 | if(!J16Blinkcount--) |
59 | { |
59 | { |
Line 66... | Line 66... | ||
66 | else |
66 | else |
67 | { |
67 | { |
68 | J16_ON; |
68 | J16_ON; |
69 | } |
69 | } |
Line 70... | Line 70... | ||
70 | 70 | ||
Line 71... | Line 71... | ||
71 | J16_OFF; |
71 | //J16_OFF; |
72 | 72 | ||
73 | 73 |