Rev 2437 | Rev 2447 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2437 | Rev 2439 | ||
---|---|---|---|
Line 303... | Line 303... | ||
303 | //printf("\n\rEE_Parameter size:%i\n\r", PARAMSET_STRUCT_LEN); |
303 | //printf("\n\rEE_Parameter size:%i\n\r", PARAMSET_STRUCT_LEN); |
Line 304... | Line 304... | ||
304 | 304 | ||
305 | DebugOut.Status[0] = 0x01 | 0x02; |
305 | DebugOut.Status[0] = 0x01 | 0x02; |
306 | JetiBeep = 0; |
306 | JetiBeep = 0; |
307 | if(EE_Parameter.ExtraConfig & CFG_NO_RCOFF_BEEPING) DisableRcOffBeeping = 1; |
- | |
308 | EEAR = EE_DUMMY; // Set the EEPROM Address pointer to an unused space |
307 | if(EE_Parameter.ExtraConfig & CFG_NO_RCOFF_BEEPING) DisableRcOffBeeping = 1; |
309 | while(1) |
308 | while(1) |
- | 309 | { |
|
310 | { |
310 | EEAR = EE_DUMMY; // Set the EEPROM Address pointer to an unused space |
311 | if(ReceiverUpdateModeActive) while (1) PORTC &= ~(1<<7); // Beeper off |
- | |
312 | //GRN_ON; |
311 | if(ReceiverUpdateModeActive) while (1) PORTC &= ~(1<<7); // Beeper off |
313 | if(UpdateMotor && AdReady) // ReglerIntervall |
312 | if(UpdateMotor && AdReady) // ReglerIntervall |
314 | { |
- | |
315 | //GRN_OFF; |
313 | { |
316 | cli(); |
314 | cli(); |
317 | UpdateMotor--; |
315 | UpdateMotor--; |
318 | sei(); |
316 | sei(); |
319 | if(WinkelOut.CalcState) CalMk3Mag(); |
317 | if(WinkelOut.CalcState) CalMk3Mag(); |
Line 454... | Line 452... | ||
454 | { |
452 | { |
455 | beeptime = 6000; |
453 | beeptime = 6000; |
456 | BeepMuster = 0x0300; |
454 | BeepMuster = 0x0300; |
457 | } |
455 | } |
458 | } |
456 | } |
459 | // SendSPI = SPI_BYTEGAP; |
- | |
460 | EEAR = EE_DUMMY; // Set the EEPROM Address pointer to an unused space |
- | |
461 | // +++++++++++++++++++++++++++++++++ |
457 | // +++++++++++++++++++++++++++++++++ |
462 | // Sekundentakt |
458 | // Sekundentakt |
463 | if(++second == 49) |
459 | if(++second == 49) |
464 | { |
460 | { |
465 | second = 0; |
461 | second = 0; |