From 210252925f4aeb8c27e0a0373018e7bf8e9d64d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=A9=AC=5F666?= <13089258+pony-six-hundred-and-sixty-six@user.noreply.gitee.com> Date: Mon, 10 Feb 2025 13:41:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/src/bsp_nt26k.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bsp/src/bsp_nt26k.c b/bsp/src/bsp_nt26k.c index 8f27670..c862e58 100644 --- a/bsp/src/bsp_nt26k.c +++ b/bsp/src/bsp_nt26k.c @@ -2,7 +2,7 @@ * @Author: mbw * @Date: 2024-10-09 08:42:14 * @LastEditors: mbw && 1600520629@qq.com - * @LastEditTime: 2025-02-08 21:07:48 + * @LastEditTime: 2025-02-08 21:11:31 * @FilePath: \JT-DT-YD4N02A_RTT_MRS-NT26K\bsp\src\bsp_nt26k.c * @Description: * @@ -1304,14 +1304,14 @@ static void Nt26k_Send_Thread_Entry(void *param) if (result != RT_EOK) { power_on_send_flag = 0; - rt_timer_start(nt26k_error_timer); // 启动重连定时器, 3min一次,直到发送成功 + rt_timer_start(nt26k_error_timer); // 启动重连定时器, 1min一次,直到发送成功 LOG_E("nt26k send data failed result = [%d]\n", result); } else { - rt_timer_start(nt26k_timer); // 当上电心跳包发送成功时, 开始心跳包周期发送 - rt_timer_start(nt26k_upload_timer); // 周期修改时间更新 power_on_send_flag = 1; + rt_timer_start(nt26k_timer); // 当上电心跳包发送成功时, 开始心跳包周期发送 + rt_timer_start(nt26k_upload_timer); // 周期修改时间更新 } } if (power_on_send_flag)