暂存+1V1.0
This commit is contained in:
parent
ac56f86cf0
commit
d969dd0e7e
|
@ -1461,7 +1461,7 @@ static void Nt26k_Life_Thread_Entry(void *parameter)
|
|||
struct at_device_nt26k *nt26k = &_dev;
|
||||
struct at_device *device = at_device_get_by_name(AT_DEVICE_NAMETYPE_NETDEV, nt26k->device_name);
|
||||
RT_ASSERT(device);
|
||||
rt_err_t result = RT_EOK;
|
||||
rt_err_t result = RT_ETIMEOUT;
|
||||
rt_uint32_t delay_n = 0;
|
||||
at_response_t resp = RT_NULL;
|
||||
LOG_D("nt26k_life_thread entry\n");
|
||||
|
@ -1568,6 +1568,7 @@ static void Nt26k_Life_Thread_Entry(void *parameter)
|
|||
}
|
||||
else
|
||||
{
|
||||
result = -RT_ETIMEOUT;
|
||||
goto __exit;
|
||||
}
|
||||
}
|
||||
|
@ -1579,6 +1580,7 @@ static void Nt26k_Life_Thread_Entry(void *parameter)
|
|||
else
|
||||
{
|
||||
delay_n = 0;
|
||||
result = -RT_ETIMEOUT;
|
||||
goto __exit;
|
||||
}
|
||||
__exit:
|
||||
|
|
Loading…
Reference in New Issue