From a0dab495b71b2b4be7c6ed5a68c27cbff1bc6402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=90=83=E6=B2=B9=E7=82=B8=E9=B8=A1?= <1425962791@qq.com> Date: Sun, 8 Feb 2026 12:06:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Power_Pico/User/Tasks/Src/user_PDUFPTask.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Power_Pico/User/Tasks/Src/user_PDUFPTask.c b/Power_Pico/User/Tasks/Src/user_PDUFPTask.c index d93b92b..02694cf 100644 --- a/Power_Pico/User/Tasks/Src/user_PDUFPTask.c +++ b/Power_Pico/User/Tasks/Src/user_PDUFPTask.c @@ -25,7 +25,7 @@ static void _timer_callback(void *argument) osMessageQueuePut(PD_handle_event_MsgQueue, &ready, 0, 1); time_count = 0; osTimerStop(PD_UFP_Task_timer_id); - } else if(time_count >= 10) { // 5秒超时 + } else if(time_count >= 10) { // 10秒超时 ready = PD_EVT_PPS_FAILED; osMessageQueuePut(PD_handle_event_MsgQueue, &ready, 0, 1); time_count = 0; @@ -43,7 +43,7 @@ static void _timer_callback(void *argument) void PDUFPTask(void *argument) { // 快充诱骗时需要另外一个端口也供电,因为快充口会有可能断电 - // 可以检测status_power来判断是否有PPS供电 + // 可以检测 status_power 来判断是否有PPS供电 PD_command_msg_t ui_msg; // 创建定时器 PD_UFP_Task_timer_id = osTimerNew(_timer_callback, osTimerPeriodic, NULL, NULL);