mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +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
|
@ -1085,9 +1085,8 @@ void beeperOffSet(uint32_t mask)
|
|||
masterConfig.beeper_off_flags |= mask;
|
||||
}
|
||||
|
||||
void beeperOffSetAll(void)
|
||||
void beeperOffSetAll(uint8_t beeperCount)
|
||||
{
|
||||
uint8_t beeperCount = beeperTableEntryCount() - 2;
|
||||
uint32_t mask = 0;
|
||||
for (int i = 0; i < beeperCount; i++){
|
||||
mask |= (1 << i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue