Merge pull request #6062 from mikeller/fix_beeper_on_usb
Fixed 'beeper -ON_USB'.
This commit is contained in:
commit
18c71cd035
|
@ -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…
Reference in New Issue