Files
2026-09-09 10:29:41 +08:00

33 lines
571 B
C

#include "asm/power_interface.h"
#include "app_config.h"
#include "includes.h"
const char BTOSC_FASTBOOT_EN = 0;
///Jim 双备份升级失败问题修复
#if (TCFG_LOWPOWER_LOWPOWER_SEL/* == SLEEP_EN*/)
static enum LOW_POWER_LEVEL power_app_level(void)
{
#if (TCFG_LOWPOWER_LOWPOWER_SEL==SLEEP_EN)
return LOW_POWER_MODE_SLEEP;
#else
return LOW_POWER_MODE_DEEP_SLEEP;
#endif
}
static u8 power_app_idle(void)
{
return 1;
}
REGISTER_LP_TARGET(power_app_lp_target) = {
.name = "power_app",
.level = power_app_level,
.is_idle = power_app_idle,
};
#endif