/branches/dongfang_FC_rewrite/analog.c |
---|
155,7 → 155,6 |
/* |
* Control and status. |
*/ |
volatile uint16_t ADCycleCount = 0; |
volatile uint8_t analogDataReady = 1; |
/* |
301,7 → 300,6 |
// after full cycle stop further interrupts |
startADC(); |
} else { |
ADCycleCount++; |
analogDataReady = 1; |
// do not restart ADC converter. |
} |
320,13 → 318,6 |
gyroActivity >>= GADAMPING; |
} |
} |
/* |
void dampenGyroActivity(void) { |
if (gyroActivity >= 2000) { |
gyroActivity -= 2000; |
} |
} |
*/ |
void analog_updateGyros(void) { |
// for various filters... |