Rev 859 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 859 | Rev 862 | ||
---|---|---|---|
Line 433... | Line 433... | ||
433 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
433 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
434 | if(SenderOkay < 100) |
434 | if(SenderOkay < 100) |
435 | { |
435 | { |
436 | if(!PcZugriff) |
436 | if(!PcZugriff) |
437 | { |
437 | { |
- | 438 | /* |
|
438 | if(BeepMuster == 0xffff) |
439 | if(BeepMuster == 0xffff) |
439 | { |
440 | { |
440 | beeptime = 15000; |
441 | beeptime = 15000; |
441 | BeepMuster = 0x0c00; |
442 | BeepMuster = 0x0c00; |
442 | } |
443 | }*/ |
443 | } |
444 | } |
444 | if(RcLostTimer) RcLostTimer--; |
445 | if(RcLostTimer) RcLostTimer--; |
445 | else |
446 | else |
446 | { |
447 | { |
447 | MotorenEin = 0; |
448 | MotorenEin = 0; |
Line 535... | Line 536... | ||
535 | // Gas ist unten |
536 | // Gas ist unten |
536 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
537 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
537 | if(PPM_in[EE_Parameter.Kanalbelegung[K_GAS]] < 35-120) |
538 | if(PPM_in[EE_Parameter.Kanalbelegung[K_GAS]] < 35-120) |
538 | { |
539 | { |
539 | // Starten |
540 | // Starten |
540 | if(PPM_in[EE_Parameter.Kanalbelegung[K_GIER]] < -75) |
541 | if(PPM_in[EE_Parameter.Kanalbelegung[K_GIER]] < -75 && PPM_in[EE_Parameter.Kanalbelegung[K_POTI4]] > 120) |
541 | { |
542 | { |
542 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
543 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
543 | // Einschalten |
544 | // Einschalten |
544 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
545 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
545 | if(++delay_einschalten > 200) |
546 | if(++delay_einschalten > 200) |
Line 561... | Line 562... | ||
561 | else delay_einschalten = 0; |
562 | else delay_einschalten = 0; |
562 | //Auf Neutralwerte setzen |
563 | //Auf Neutralwerte setzen |
563 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
564 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
564 | // Auschalten |
565 | // Auschalten |
565 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
566 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
566 | if(PPM_in[EE_Parameter.Kanalbelegung[K_GIER]] > 75) |
567 | if(PPM_in[EE_Parameter.Kanalbelegung[K_POTI4]]<20) |
567 | { |
568 | { |
- | 569 | ||
568 | if(++delay_ausschalten > 200) // nicht sofort |
570 | if(++delay_ausschalten > 100) // nicht sofort |
569 | { |
571 | { |
570 | MotorenEin = 0; |
572 | MotorenEin = 0; |
571 | delay_ausschalten = 200; |
573 | delay_ausschalten = 100; |
572 | modell_fliegt = 0; |
574 | modell_fliegt = 0; |
573 | } |
575 | } |
574 | } |
576 | } |
575 | else delay_ausschalten = 0; |
577 | else delay_ausschalten = 0; |
576 | } |
578 | } |