This commit is contained in:
小马_666 2025-02-10 13:41:18 +08:00 committed by stark1898y
parent 11d78f48e8
commit bc87f9f5bc
1 changed files with 4 additions and 4 deletions

View File

@ -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
{
power_on_send_flag = 1;
rt_timer_start(nt26k_timer); // 当上电心跳包发送成功时, 开始心跳包周期发送
rt_timer_start(nt26k_upload_timer); // 周期修改时间更新
power_on_send_flag = 1;
}
}
if (power_on_send_flag)