mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-09-17 00:54:20 +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:
@@ -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