Rev 2341 | Rev 2354 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2341 | Rev 2342 | ||
---|---|---|---|
Line 73... | Line 73... | ||
73 | for(i=0;i<MAX_RC_IN;i++) |
73 | for(i=0;i<MAX_RC_IN;i++) |
74 | { |
74 | { |
75 | if(i < 5) PPM_in[i] = 0; else PPM_in[i] = -127; |
75 | if(i < 5) PPM_in[i] = 0; else PPM_in[i] = -127; |
76 | PPM_diff[i] = 0; |
76 | PPM_diff[i] = 0; |
77 | } |
77 | } |
- | 78 | PPM_in[PPM_IN_MAX] = +127; |
|
78 | PPM_in[PPM_IN_OFF] = -127; |
79 | PPM_in[PPM_IN_OFF] = -127; |
79 | PPM_in[PPM_IN_MID] = 0; |
80 | PPM_in[PPM_IN_MID] = 0; |
80 | PPM_in[PPM_IN_MAX] = +127; |
- | |
81 | AdNeutralGier = 0; |
81 | AdNeutralGier = 0; |
82 | AdNeutralRoll = 0; |
82 | AdNeutralRoll = 0; |
83 | AdNeutralNick = 0; |
83 | AdNeutralNick = 0; |
84 | return; |
84 | return; |
85 | } |
85 | } |