Browse Source

feedback

pull/379/head
JQ 1 year ago
parent
commit
7c011324f2
  1. 5
      examples/companion_radio/UITask.cpp

5
examples/companion_radio/UITask.cpp

@ -374,11 +374,10 @@ void UITask::handleButtonTriplePress() {
if (buzzer.isQuiet()) { if (buzzer.isQuiet()) {
buzzer.quiet(false); buzzer.quiet(false);
soundBuzzer(UIEventType::ack); soundBuzzer(UIEventType::ack);
sprintf(_alert, "Quiet mode: OFF"); sprintf(_alert, "Buzzer: ON");
} else { } else {
soundBuzzer(UIEventType::ack);
buzzer.quiet(true); buzzer.quiet(true);
sprintf(_alert, "Quiet mode: ON"); sprintf(_alert, "Buzzer: OFF");
} }
_need_refresh = true; _need_refresh = true;
#endif #endif

Loading…
Cancel
Save