Rev 2029 | Rev 2034 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2029 | Rev 2030 | ||
---|---|---|---|
Line 57... | Line 57... | ||
57 | unsigned int FlugSekunden = 0; |
57 | unsigned int FlugSekunden = 0; |
58 | pVoidFnct_pVoidFnctChar_const_fmt _printf_P; |
58 | pVoidFnct_pVoidFnctChar_const_fmt _printf_P; |
59 | unsigned char FoundMotors = 0; |
59 | unsigned char FoundMotors = 0; |
60 | unsigned char JetiBeep = 0; // to allow any Morse-Beeping of the Jeti-Box |
60 | unsigned char JetiBeep = 0; // to allow any Morse-Beeping of the Jeti-Box |
Line -... | Line 61... | ||
- | 61 | ||
- | 62 | void PrintLine(void) |
|
- | 63 | { |
|
- | 64 | printf("\n\r==================================="); |
|
- | 65 | } |
|
- | 66 | ||
61 | 67 | ||
62 | void CalMk3Mag(void) |
68 | void CalMk3Mag(void) |
63 | { |
69 | { |
64 | static unsigned char stick = 1; |
70 | static unsigned char stick = 1; |
65 | if(PPM_in[EE_Parameter.Kanalbelegung[K_NICK]] > -20) stick = 0; |
71 | if(PPM_in[EE_Parameter.Kanalbelegung[K_NICK]] > -20) stick = 0; |
Line 197... | Line 203... | ||
197 | printf("\n\r\n\r!! MISSING BL-CTRL: %d !!",i+1); |
203 | printf("\n\r\n\r!! MISSING BL-CTRL: %d !!",i+1); |
198 | ServoActive = 2; // just in case the FC would be used as camera-stabilizer |
204 | ServoActive = 2; // just in case the FC would be used as camera-stabilizer |
199 | } |
205 | } |
200 | Motor[i].State &= ~MOTOR_STATE_ERROR_MASK; // clear error counter |
206 | Motor[i].State &= ~MOTOR_STATE_ERROR_MASK; // clear error counter |
201 | } |
207 | } |
202 | printf("\n\r==================================="); |
208 | PrintLine();// ("\n\r==================================="); |
- | 209 | ||
Line 203... | Line 210... | ||
203 | 210 | ||
Line 204... | Line 211... | ||
204 | if(RequiredMotors < FoundMotors) VersionInfo.HardwareError[1] |= FC_ERROR1_MIXER; |
211 | if(RequiredMotors < FoundMotors) VersionInfo.HardwareError[1] |= FC_ERROR1_MIXER; |
205 | 212 | ||
Line 228... | Line 235... | ||
228 | FlugMinuten = 0; |
235 | FlugMinuten = 0; |
229 | FlugMinutenGesamt = 0; |
236 | FlugMinutenGesamt = 0; |
230 | } |
237 | } |
231 | printf("\n\rFlight-time %u min Total:%u min", FlugMinuten, FlugMinutenGesamt); |
238 | printf("\n\rFlight-time %u min Total:%u min", FlugMinuten, FlugMinutenGesamt); |
Line 232... | Line -... | ||
232 | - | ||
233 | printf("\n\rControl: "); |
- | |
234 | if (EE_Parameter.GlobalConfig & CFG_HEADING_HOLD) printf("HeadingHold"); |
- | |
235 | else printf("Normal (ACC-Mode)"); |
- | |
236 | 239 | ||
237 | LcdClear(); |
240 | LcdClear(); |
238 | I2CTimeout = 5000; |
241 | I2CTimeout = 5000; |
239 | WinkelOut.Orientation = 1; |
242 | WinkelOut.Orientation = 1; |
240 | LipoDetection(1); |
- | |
241 | 243 | LipoDetection(1); |
|
242 | LIBFC_ReceiverInit(EE_Parameter.Receiver); |
- | |
243 | 244 | LIBFC_ReceiverInit(EE_Parameter.Receiver); |
|
244 | printf("\n\r===================================\n\r"); |
245 | PrintLine();// ("\n\r==================================="); |
245 | //SpektrumBinding(); |
246 | //SpektrumBinding(); |
246 | timer = SetDelay(2000); |
247 | timer = SetDelay(2000); |
Line 247... | Line 248... | ||
247 | timerPolling = SetDelay(250); |
248 | timerPolling = SetDelay(250); |