Fixed 'beeper -ON_USB'.
This commit is contained in:
parent
7936fb07d5
commit
52b8fa5316
|
@ -232,7 +232,7 @@ void beeper(beeperMode_e mode)
|
|||
{
|
||||
if (
|
||||
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
|
||||
)
|
||||
) {
|
||||
|
|
Loading…
Reference in New Issue