Subversion Repositories FlightCtrl

Rev

Rev 1479 | Rev 1486 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1479 Rev 1481
Line 388... Line 388...
388
            SendMotorData();
388
            SendMotorData();
389
            ROT_OFF;
389
            ROT_OFF;
390
            if(SenderOkay)  SenderOkay--;
390
            if(SenderOkay)  SenderOkay--;
391
                        else TIMSK1 |= _BV(ICIE1); // enable PPM-Input
391
                        else TIMSK1 |= _BV(ICIE1); // enable PPM-Input
392
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
392
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
393
if(HoehenReglerAktiv && NaviDataOkay && SenderOkay < 160 && SenderOkay > 10 && FromNaviCtrl_Value.SerialDataOkay > 220) SenderOkay = 160;
393
//if(HoehenReglerAktiv && NaviDataOkay && SenderOkay < 160 && SenderOkay > 10 && FromNaviCtrl_Value.SerialDataOkay > 220) SenderOkay = 160;
394
if(HoehenReglerAktiv && NaviDataOkay && SenderOkay < 101 && SenderOkay > 10 && FromNaviCtrl_Value.SerialDataOkay > 1) SenderOkay = 101;
394
//if(HoehenReglerAktiv && NaviDataOkay && SenderOkay < 101 && SenderOkay > 10 && FromNaviCtrl_Value.SerialDataOkay > 1) SenderOkay = 101;
395
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
395
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Line 396... Line 396...
396
 
396
 
397
            if(!--I2CTimeout || MissingMotor)
397
            if(!--I2CTimeout || MissingMotor)
398
                {
398
                {