From a9ab1f072a78e0eea51e7f469af00be9536b16f4 Mon Sep 17 00:00:00 2001 From: taco Date: Wed, 3 Sep 2025 14:02:35 +1000 Subject: [PATCH] increase gps/buzzer alert times 600 is a bit short for eink --- examples/companion_radio/ui-new/UITask.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/companion_radio/ui-new/UITask.cpp b/examples/companion_radio/ui-new/UITask.cpp index 1c565a8a..39eb26b3 100644 --- a/examples/companion_radio/ui-new/UITask.cpp +++ b/examples/companion_radio/ui-new/UITask.cpp @@ -632,11 +632,11 @@ void UITask::toggleGPS() { if (strcmp(_sensors->getSettingValue(i), "1") == 0) { _sensors->setSettingValue("gps", "0"); soundBuzzer(UIEventType::ack); - showAlert("GPS: Disabled", 600); + showAlert("GPS: Disabled", 800); } else { _sensors->setSettingValue("gps", "1"); soundBuzzer(UIEventType::ack); - showAlert("GPS: Enabled", 600); + showAlert("GPS: Enabled", 800); } _next_refresh = 0; break; @@ -651,10 +651,10 @@ void UITask::toggleBuzzer() { if (buzzer.isQuiet()) { buzzer.quiet(false); soundBuzzer(UIEventType::ack); - showAlert("Buzzer: ON", 600); + showAlert("Buzzer: ON", 800); } else { buzzer.quiet(true); - showAlert("Buzzer: OFF", 600); + showAlert("Buzzer: OFF", 800); } _next_refresh = 0; // trigger refresh #endif