mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 06:45:16 +03:00
Added check to establish that PID audio is configured.
This commit is contained in:
parent
60de878452
commit
7db73942dd
1 changed files with 3 additions and 1 deletions
|
@ -882,7 +882,9 @@ static FAST_CODE void subTaskPidController(timeUs_t currentTimeUs)
|
||||||
|
|
||||||
|
|
||||||
#ifdef USE_PID_AUDIO
|
#ifdef USE_PID_AUDIO
|
||||||
pidAudioUpdate();
|
if (isModeActivationConditionPresent(BOXPIDAUDIO)) {
|
||||||
|
pidAudioUpdate();
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue