From 51135221cd73a2b3a6ce4b5ec906396d5a33b4c7 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期五, 20 十二月 2024 17:28:30 +0800 Subject: [PATCH] 加入低功耗模式 --- 01_SDK/nimble/samples/solutions/ble_panchip_cte_beacon/keil_107x/configuration/app_config_spark.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/01_SDK/nimble/samples/solutions/ble_panchip_cte_beacon/keil_107x/configuration/app_config_spark.h b/01_SDK/nimble/samples/solutions/ble_panchip_cte_beacon/keil_107x/configuration/app_config_spark.h index 0664152..54af1c3 100644 --- a/01_SDK/nimble/samples/solutions/ble_panchip_cte_beacon/keil_107x/configuration/app_config_spark.h +++ b/01_SDK/nimble/samples/solutions/ble_panchip_cte_beacon/keil_107x/configuration/app_config_spark.h @@ -86,7 +86,7 @@ /* Select a low-speed clock source */ // <o> Low-Speed Clock <0=> RCL <1=> XTL <2=> ACT32K -#define CONFIG_LOW_SPEED_CLOCK_SRC 2 +#define CONFIG_LOW_SPEED_CLOCK_SRC 1 // <i> Select a low-speed clock source /* CENTRAL maximum number of states supported */ @@ -134,11 +134,11 @@ // <h> Low Power Config /* low power enable */ // <q> Low Power Enable -#define CONFIG_PM 0 +#define CONFIG_PM 1 // <i> low power enable // <q> Keep Flash Power in Low Power Mode -#define CONFIG_KEEP_FLASH_POWER_IN_LP_MODE 0 +#define CONFIG_KEEP_FLASH_POWER_IN_LP_MODE 1 // <i> Select this means flash power would be retained in Low Power Mode, and // <i> there would be a little avg-current increase (about 1uA). The benefit is that // <i> the large peak current (>15mA) would not occur. -- Gitblit v1.9.3