mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 09:45:21 +03:00
Fixes #1800: suppress center beep for non-existing pots
This commit is contained in:
parent
3043163468
commit
dffdd2d6c5
2 changed files with 5 additions and 1 deletions
|
@ -495,7 +495,9 @@ void evalInputs(uint8_t mode)
|
|||
if (tmp==0 || (tmp==1 && (bpanaCenter & mask))) {
|
||||
anaCenter |= mask;
|
||||
if ((g_model.beepANACenter & mask) && !(bpanaCenter & mask) && !calibrationState) {
|
||||
AUDIO_POT_MIDDLE(i);
|
||||
if (!IS_POT(i) || IS_POT_AVAILABLE(i)) {
|
||||
AUDIO_POT_MIDDLE(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue