Rev 2093 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2093 | Rev 2174 | ||
---|---|---|---|
Line 120... | Line 120... | ||
120 | if(SenderOkay >= 195) PPM_diff[index] = ((tmp - PPM_in[index]) / 3) * 3; |
120 | if(SenderOkay >= 195) PPM_diff[index] = ((tmp - PPM_in[index]) / 3) * 3; |
121 | else PPM_diff[index] = 0; |
121 | else PPM_diff[index] = 0; |
122 | PPM_in[index] = tmp; |
122 | PPM_in[index] = tmp; |
123 | } |
123 | } |
124 | index++; |
124 | index++; |
125 | if(PlatinenVersion < 20) |
125 | if(PlatinenVersion < 20) |
126 | { |
126 | { |
127 | if(index == 5) J3High; else J3Low; // Servosignal an J3 anlegen |
127 | if(index == 5) J3High; else J3Low; // Servosignal an J3 anlegen |
128 | if(index == 6) J4High; else J4Low; // Servosignal an J4 anlegen |
128 | if(index == 6) J4High; else J4Low; // Servosignal an J4 anlegen |
129 | if(index == 7) J5High; else J5Low; // Servosignal an J5 anlegen |
129 | if(index == 7) J5High; else J5Low; // Servosignal an J5 anlegen |
- | 130 | } |
|
130 | } |
131 | } |
131 | } |
- | |
132 | } |
132 | } |
133 | } |
133 | } |
134 | else |
134 | else |
135 | { |
135 | { |
136 | static unsigned int AltICR=0; |
136 | static unsigned int AltICR=0; |
137 | static int ppm_in[13]; |
137 | static int ppm_in[13]; |