mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Merge pull request #29 from nebbian/feature-change-profile-beep-bugfix
Bugfix for wrong number of beeps when changing profiles
This commit is contained in:
commit
7e5eeb53b2
1 changed files with 1 additions and 1 deletions
|
@ -634,7 +634,7 @@ void changeProfile(uint8_t profileIndex)
|
|||
masterConfig.current_profile_index = profileIndex;
|
||||
writeEEPROM();
|
||||
readEEPROM();
|
||||
blinkLedAndSoundBeeper(2, 40, profileIndex);
|
||||
blinkLedAndSoundBeeper(2, 40, profileIndex + 1);
|
||||
}
|
||||
|
||||
bool feature(uint32_t mask)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue