From 3cc2fdcd60239c91bf974238d3e7f9afd1388e82 Mon Sep 17 00:00:00 2001 From: meizhigang Date: Wed, 23 Aug 2023 09:35:51 +0800 Subject: [PATCH] fix(power):Fix related project build with power event param MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 适配关联项目使用电源参数编译 Related #11422 --- include/power-i.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/power-i.h b/include/power-i.h index ace2ec6..52194d0 100644 --- a/include/power-i.h +++ b/include/power-i.h @@ -67,6 +67,8 @@ extern "C" enum PowerEvent { + // 按下关机键 该参数将在后续的版本中废弃 + POWER_EVENT_PRESSED_POWEROFF = 0, // 释放关机键 POWER_EVENT_RELEASE_POWEROFF = 0, // 按下睡眠键 -- 2.27.0