mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Fixed dispatch initialisation for persistent statistics.
This commit is contained in:
parent
9abf63a0b0
commit
c6c4c3adf9
4 changed files with 13 additions and 3 deletions
|
@ -767,7 +767,7 @@ static void processStepwiseAdjustments(controlRateConfig_t *controlRateConfig, c
|
|||
|
||||
static void setConfigDirtyIfNotPermanent(const channelRange_t *range)
|
||||
{
|
||||
if (range->startStep == MIN_MODE_RANGE_STEP && range->endStep == MAX_MODE_RANGE_STEP) {
|
||||
if (!(range->startStep == MIN_MODE_RANGE_STEP && range->endStep == MAX_MODE_RANGE_STEP)) {
|
||||
// Only set the configuration dirty if this range is NOT permanently enabled (and the config thus never used).
|
||||
setConfigDirty();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue