mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
beeperCount in beeperOffSetAll for config_unittest
This commit is contained in:
parent
b4fb558dd4
commit
3af6ff7e9b
3 changed files with 3 additions and 4 deletions
|
@ -2135,7 +2135,7 @@ static void cliBeeper(char *cmdline)
|
|||
if (strncasecmp(cmdline, beeperNameForTableIndex(i), len) == 0) {
|
||||
if (remove) { // beeper off
|
||||
if (i == BEEPER_ALL-1)
|
||||
beeperOffSetAll();
|
||||
beeperOffSetAll(beeperCount-2);
|
||||
else
|
||||
if (i == BEEPER_PREFERENCE-1)
|
||||
setBeeperOffMask(getPreferedBeeperOffMask());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue