From: SnickerSun Date: Fri, 22 Nov 2024 10:45:40 +0000 (+0800) Subject: touch_resume 放回到display_lcd_on函数中 X-Git-Tag: fd230_release_V1.3.102~44^2 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=63e69dd078c176d243ff64dc9de709f06db73ab4;p=mirrors%2FFD230.git touch_resume 放回到display_lcd_on函数中 --- 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