touch_resume 放回到display_lcd_on函数中 1451/1 1451/head
authorSnickerSun <snickersun@163.com>
Fri, 22 Nov 2024 10:45:40 +0000 (18:45 +0800)
committerSnickerSun <snickersun@163.com>
Fri, 22 Nov 2024 10:45:40 +0000 (18:45 +0800)
code/sdk/application/wearable/service/power_manager/src/actions/display_action.c

index 934d86b..eb87742 100755 (executable)
@@ -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