1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 11:29:58 +03:00

Fixed absolute adjustments processing without RX input.

This commit is contained in:
mikeller 2019-06-02 22:21:04 +12:00
parent 92e1b287c6
commit 046adc7fc2

View file

@ -820,6 +820,10 @@ void processRcAdjustments(controlRateConfig_t *controlRateConfig)
MARK_ADJUSTMENT_FUNCTION_AS_BUSY(adjustmentIndex);
}
if (!canUseRxData) {
return;
}
// Process Absolute adjustments
for (int i = 0; i < activeAbsoluteAdjustmentCount; i++) {
static int16_t lastRcData[MAX_ADJUSTMENT_RANGE_COUNT] = { 0 };