生成的代码包
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user