mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-10-23 00:41:37 +00:00
T1000E: blink LED on shutdown when buzzer is muted
On long-press shutdown with buzzer muted, flash the heartbeat LED 3 times as a visual power-off indicator. Auto-shutdown paths are unaffected.
This commit is contained in:
1 parent
0f98ecec93
commit
ff4503d001
3 files changed
+36
No files matched your search
@@ -503,6 +503,12 @@ static void action_deep_sleep(void)
|
||||
k_sleep(K_MSEC(50));
|
||||
}
|
||||
buzzer_stop();
|
||||
|
||||
#ifdef CONFIG_BOARD_T1000_E
|
||||
if (buzzer_is_quiet()) {
|
||||
ui_led_flash_shutdown();
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Shared peripheral teardown + SENSE config for sw0 wake.
|
||||
|
||||
Reference in new issue
Block a user