Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2016 → Rev 2017

/branches/dongfang_FC_rewrite/controlMixer.c
142,6 → 142,7
void updateControlAndMeasureControlActivity(uint8_t index, int16_t newValue) {
int16_t tmp = controls[index];
controls[index] = newValue;
tmp -= newValue;
tmp /= 2;
tmp = tmp * tmp;