mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 23:35:34 +03:00
Merge pull request #6062 from mikeller/fix_beeper_on_usb
Fixed 'beeper -ON_USB'.
This commit is contained in:
commit
18c71cd035
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ void beeper(beeperMode_e mode)
|
||||||
{
|
{
|
||||||
if (
|
if (
|
||||||
mode == BEEPER_SILENCE || (
|
mode == BEEPER_SILENCE || (
|
||||||
(beeperConfigMutable()->beeper_off_flags & BEEPER_GET_FLAG(BEEPER_USB - 1))
|
(beeperConfigMutable()->beeper_off_flags & BEEPER_GET_FLAG(BEEPER_USB))
|
||||||
&& getBatteryState() == BATTERY_NOT_PRESENT
|
&& getBatteryState() == BATTERY_NOT_PRESENT
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue