1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +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:
Dominic Clifton 2014-08-02 10:03:26 +01:00
commit 7e5eeb53b2

View file

@ -634,7 +634,7 @@ void changeProfile(uint8_t profileIndex)
masterConfig.current_profile_index = profileIndex; masterConfig.current_profile_index = profileIndex;
writeEEPROM(); writeEEPROM();
readEEPROM(); readEEPROM();
blinkLedAndSoundBeeper(2, 40, profileIndex); blinkLedAndSoundBeeper(2, 40, profileIndex + 1);
} }
bool feature(uint32_t mask) bool feature(uint32_t mask)