解决了重连机制标志量不清除的情况,作为V1.0

This commit is contained in:
stark1898y 2025-02-08 18:08:35 +08:00
parent d969dd0e7e
commit ef03cc5b48
2 changed files with 5 additions and 3 deletions

View File

@ -1481,6 +1481,7 @@ static void Nt26k_Life_Thread_Entry(void *parameter)
LOG_E("No memory for response structure!");
at_delete_resp(resp);
result = -RT_ETIMEOUT;
goto __exit;
}
if (device->class->device_ops->control(device, AT_DEVICE_CTRL_WAKEUP, RT_NULL) == RT_EOK)
{
@ -1563,6 +1564,7 @@ static void Nt26k_Life_Thread_Entry(void *parameter)
}
else
{
result = -RT_ETIMEOUT;
goto __exit;
}
}

View File

@ -2,7 +2,7 @@
* @Author : stark1898y 1658608470@qq.com
* @Date : 2024-07-19 13:49:43
* @LastEditors : stark1898y 1658608470@qq.com
* @LastEditTime : 2025-01-24 17:32:48
* @LastEditTime : 2025-02-08 18:04:20
* @FilePath : \JT-DT-YD4N02A_4G_RTT_MRS\rt-thread\rtconfig.h
* @Description :
*
@ -15,8 +15,8 @@
/*使用动态日志及密码功能时,需开启宏 FINSH_USING_AUTH ULOG_USING_FILTER ENABLE_LOG_ALL ULOG_OUTPUT_LVL = 7 以及设置ulog.c 1522行 输出等级为0*/
/**/
// #define FINSH_USING_AUTH //开启终端密码登录功能
// #define ULOG_USING_FILTER //开启动态修改日志等级 默认修改在ulog.c 1522行
#define FINSH_USING_AUTH //开启终端密码登录功能
#define ULOG_USING_FILTER //开启动态修改日志等级 默认修改在ulog.c 1522行
#define ENABLE_LOG_ALL
#define TEST_ENABLE //打开所有的终端测试程序