Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1601 → Rev 1602

/beta/Code Redesign killagreg/main.c
318,7 → 318,11
RED_OFF;
 
if(RC_Quality) RC_Quality--;
else PPM_INPUT_ON; // if RC-Quality is lost, enable PPM input (could be disabled by a receiver on uart1)
else
{
PPM_INPUT_ON; // if RC-Quality is lost, enable PPM input (could be disabled by a receiver on uart1)
PPM_in[0] = 0; // set RSSI to zero on data timeout
}
 
if(!--I2CTimeout || MissingMotor) // try to reset the i2c if motor is missing or timeout
{