From 63e69dd078c176d243ff64dc9de709f06db73ab4 Mon Sep 17 00:00:00 2001 From: SnickerSun Date: Fri, 22 Nov 2024 18:45:40 +0800 Subject: [PATCH] =?utf8?q?touch=5Fresume=20=E6=94=BE=E5=9B=9E=E5=88=B0disp?= =?utf8?q?lay=5Flcd=5Fon=E5=87=BD=E6=95=B0=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../service/power_manager/src/actions/display_action.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/sdk/application/wearable/service/power_manager/src/actions/display_action.c b/code/sdk/application/wearable/service/power_manager/src/actions/display_action.c index 934d86b39..eb87742da 100755 --- a/code/sdk/application/wearable/service/power_manager/src/actions/display_action.c +++ b/code/sdk/application/wearable/service/power_manager/src/actions/display_action.c @@ -166,13 +166,16 @@ static uint32_t action_display_lcd_on() NotifyScreenOn(); // Instruct the uikit to start the display operation. #endif if ((g_pms_lcd_on_first_flag == false) && (g_pms_dpu_ready == false)) { - // touch_screen_resume();// open touch/ + #if 1 + touch_screen_resume();// open touch/ + #else ret = hal_custom_resume_touch(); // 更高优先级处理touch if ( ret != 0) { POWER_DISPLAY_PRINT_ERR(0, "hal_custom_resume_touch error ret=%x , resume touch in graphic thread\r\n", ret); touch_screen_resume();// post_func_to_graphic(touch_screen_resume); // open touch 太耗时,放到GraphicService里延迟执行,加快亮屏速度。 } + #endif rotary_encoder_resume(); } #ifdef CONFIG_CLDO1PD_SUPPORT -- 2.17.1