1
0
Fork 0
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:
mikeller 2018-05-27 10:42:32 +12:00
parent 60de878452
commit 7db73942dd

View file

@ -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
} }