Rev 1193 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1193 | Rev 1197 | ||
---|---|---|---|
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 | //nur Höhe an |
31 | //Wenn Höhe halten aktiv -Bitmuster = UserParameter1 |
32 | if(HoehenReglerAktiv > 0 && Parameter_NaviGpsModeControl > 90 && Parameter_NaviGpsModeControl < 200) |
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 | //AID |
42 | //Wenn AID aktiv -Bitmuster = UserParameter2 |
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 | //CH |
55 | //Wenn ComingHome aktiv -Bitmuster = UserParameter3 |
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 | - | ||
Line 71... | Line 70... | ||
71 | //J16_OFF; |
70 | |
72 | 71 | ||
73 | 72 |