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:
parent
92e1b287c6
commit
046adc7fc2
1 changed files with 4 additions and 0 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue