Subversion Repositories FlightCtrl

Rev

Rev 1415 | Rev 1419 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1415 Rev 1417
Line 417... Line 417...
417
                                        PcZugriff = 255;
417
                                        PcZugriff = 255;
418
                                        break;
418
                                        break;
419
                        case 'c': // Poll the 3D-Data
419
                        case 'c': // Poll the 3D-Data
420
                    if(!Intervall3D) { if(pRxData[0]) Timer3D = SetDelay(pRxData[0] * 10);}
420
                    if(!Intervall3D) { if(pRxData[0]) Timer3D = SetDelay(pRxData[0] * 10);}
421
                                        Intervall3D = pRxData[0] * 10;
421
                                        Intervall3D = pRxData[0] * 10;
-
 
422
                                        AboTimeOut = SetDelay(ABO_TIMEOUT);
422
                                        break;
423
                                        break;
423
                        case 'd': // Poll the debug data
424
                        case 'd': // Poll the debug data
424
                                        DebugDataIntervall = (unsigned int)pRxData[0] * 10;
425
                                        DebugDataIntervall = (unsigned int)pRxData[0] * 10;
425
                                        if(DebugDataIntervall > 0) DebugDataAnforderung = 1;
426
                                        if(DebugDataIntervall > 0) DebugDataAnforderung = 1;
426
                                        AboTimeOut = SetDelay(ABO_TIMEOUT);
427
                                        AboTimeOut = SetDelay(ABO_TIMEOUT);
Line 527... Line 528...
527
 
528
 
528
        if(CheckDelay(AboTimeOut))
529
        if(CheckDelay(AboTimeOut))
529
        {
530
        {
530
                Display_Interval = 0;
531
                Display_Interval = 0;
-
 
532
                DebugDataIntervall = 0;
531
                DebugDataIntervall = 0;
533
                Intervall3D = 0;
Line 532... Line 534...
532
        }
534
        }
533
 
535
 
534
        if(((Display_Interval>0 && CheckDelay(Display_Timer)) || DebugDisplayAnforderung) && UebertragungAbgeschlossen)
536
        if(((Display_Interval>0 && CheckDelay(Display_Timer)) || DebugDisplayAnforderung) && UebertragungAbgeschlossen)