This commit is contained in:
huxi
2025-12-03 11:12:34 +08:00
parent c23ae4f24c
commit bc195654bf
8163 changed files with 3799544 additions and 92 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef APP_POWEROFF_H
#define APP_POWEROFF_H
enum poweroff_reason {
POWEROFF_NORMAL, //普通关机,默认播放关机提示音
POWEROFF_RESET, //系统复位
POWEROFF_POWER_KEEP, //充电仓没电情况下的关机
POWEROFF_NORMAL_TWS, //TWS同时关机,默认播放关机提示音
};
void sys_enter_soft_poweroff(enum poweroff_reason reason);
void sys_auto_shut_down_disable(void);
void sys_auto_shut_down_enable(void);
#endif