Rev 908 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 908 | Rev 911 | ||
---|---|---|---|
Line 111... | Line 111... | ||
111 | WDTCSR |= (1<<WDCE)|(1<<WDE); |
111 | WDTCSR |= (1<<WDCE)|(1<<WDE); |
112 | WDTCSR = 0; |
112 | WDTCSR = 0; |
Line 113... | Line 113... | ||
113 | 113 | ||
Line 114... | Line 114... | ||
114 | BeepTime = 2000; |
114 | BeepTime = 2000; |
115 | 115 | ||
116 | PPM_in[CH_THRUST] = 0; |
116 | PPM_in[CH_GAS] = 0; |
117 | StickYaw = 0; |
117 | StickYaw = 0; |
Line 118... | Line 118... | ||
118 | StickRoll = 0; |
118 | StickRoll = 0; |
Line 119... | Line 119... | ||
119 | StickPitch = 0; |
119 | StickNick = 0; |
120 | 120 | ||
Line 158... | Line 158... | ||
158 | GRN_ON; |
158 | GRN_ON; |
Line 159... | Line 159... | ||
159 | 159 | ||
160 | // Parameter set handling |
160 | // Parameter set handling |
Line 161... | Line 161... | ||
161 | ParamSet_Init(); |
161 | ParamSet_Init(); |
162 | 162 | ||
163 | if(GetParamWord(PID_ACC_PITCH) > 1023) |
163 | if(GetParamWord(PID_ACC_NICK) > 1023) |
164 | { |
164 | { |
Line 165... | Line 165... | ||
165 | printf("\n\rACC not calibrated!"); |
165 | printf("\n\rACC not calibrated!"); |
Line 244... | Line 244... | ||
244 | else |
244 | else |
245 | { |
245 | { |
246 | DubWiseKeys[0] = 0; |
246 | DubWiseKeys[0] = 0; |
247 | DubWiseKeys[1] = 0; |
247 | DubWiseKeys[1] = 0; |
248 | ExternControl.Config = 0; |
248 | ExternControl.Config = 0; |
249 | ExternStickPitch= 0; |
249 | ExternStickNick= 0; |
250 | ExternStickRoll = 0; |
250 | ExternStickRoll = 0; |
251 | ExternStickYaw = 0; |
251 | ExternStickYaw = 0; |
252 | } |
252 | } |
Line 253... | Line 253... | ||
253 | 253 |