线上在使用的版本
This commit is contained in:
parent
0fb800cb37
commit
9d99840161
@ -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 */
|
||||
|
||||
@ -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 按键命令枚举
|
||||
|
||||
Loading…
Reference in New Issue
Block a user