From 9d99840161c070b86812f2201d84be3025feb646 Mon Sep 17 00:00:00 2001 From: ipason Date: Tue, 26 Aug 2025 14:38:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=BF=E4=B8=8A=E5=9C=A8=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E7=9A=84=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/FluxButton/Flux_Button.c | 2 +- components/FluxButton/Flux_Button.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/FluxButton/Flux_Button.c b/components/FluxButton/Flux_Button.c index 2d19ab2..1c0dca0 100644 --- a/components/FluxButton/Flux_Button.c +++ b/components/FluxButton/Flux_Button.c @@ -45,7 +45,7 @@ static void button_event_cb(void *arg, void *data) POWER_OFF; break; case BUTTON_CMD_LCD_BACKLIGHT_CHANGE: - #ifdef USE_LCD_BACKLIGHT_CLOSE + #if USE_LCD_BACKLIGHT_CLOSE /* 单击电源键事件 */ ESP_LOGI(S_BUTTON_TAG, "LCD backlight change"); /* Toggle backlight based on current backlight state */ diff --git a/components/FluxButton/Flux_Button.h b/components/FluxButton/Flux_Button.h index 482046f..e1701ca 100644 --- a/components/FluxButton/Flux_Button.h +++ b/components/FluxButton/Flux_Button.h @@ -49,7 +49,7 @@ extern "C" { /* 定义按键支持休眠 */ #define CONFIG_GPIO_BUTTON_SUPPORT_POWER_SAVE (0) -#define USE_LCD_BACKLIGHT_CLOSE (1) +#define USE_LCD_BACKLIGHT_CLOSE (0) /** * @brief 按键命令枚举