1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Inhibit the %^0$ buzzer on USB power

This commit is contained in:
Moto Moto 2015-10-19 22:19:38 -05:00
parent 086e383602
commit bbf70c6370

View file

@ -211,7 +211,7 @@ static const beeperTableEntry_t *currentBeeperEntry = NULL;
*/
void beeper(beeperMode_e mode)
{
if (mode == BEEPER_SILENCE) {
if (mode == BEEPER_SILENCE || (feature(FEATURE_VBAT) && (batteryCellCount < 2))) {
beeperSilence();
return;
}