Apply buzzer setting changes in the UI so no reboot needed.
This commit is contained in:
1 parent
b9fa77ed69
commit
edb94d3fdc
3 files changed
+3
No files matched your search
@@ -1015,6 +1015,7 @@ void UITask::loop() {
|
|||||||
userLedHandler();
|
userLedHandler();
|
||||||
|
|
||||||
#ifdef PIN_BUZZER
|
#ifdef PIN_BUZZER
|
||||||
|
if (buzzer.isQuiet() != (bool)_node_prefs->buzzer_quiet) buzzer.quiet(_node_prefs->buzzer_quiet);
|
||||||
if (buzzer.isPlaying()) buzzer.loop();
|
if (buzzer.isPlaying()) buzzer.loop();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -485,6 +485,7 @@ void UITask::loop() {
|
|||||||
userLedHandler();
|
userLedHandler();
|
||||||
|
|
||||||
#ifdef PIN_BUZZER
|
#ifdef PIN_BUZZER
|
||||||
|
if (buzzer.isQuiet() != (bool)_node_prefs->buzzer_quiet) buzzer.quiet(_node_prefs->buzzer_quiet);
|
||||||
if (buzzer.isPlaying()) buzzer.loop();
|
if (buzzer.isPlaying()) buzzer.loop();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -691,6 +691,7 @@ void UITask::loop() {
|
|||||||
userLedHandler();
|
userLedHandler();
|
||||||
|
|
||||||
#ifdef PIN_BUZZER
|
#ifdef PIN_BUZZER
|
||||||
|
if (buzzer.isQuiet() != (bool)_node_prefs->buzzer_quiet) buzzer.quiet(_node_prefs->buzzer_quiet);
|
||||||
if (buzzer.isPlaying()) buzzer.loop();
|
if (buzzer.isPlaying()) buzzer.loop();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user