去掉了一次随机延时
This commit is contained in:
parent
85b7fcf139
commit
f16d4ca934
|
@ -373,7 +373,6 @@ int at_send_data(struct at_device *device, const char *data, rt_size_t size)
|
||||||
|
|
||||||
while (retry < max_retry_count)
|
while (retry < max_retry_count)
|
||||||
{
|
{
|
||||||
rt_thread_mdelay(IMEI_Delay()); // 获取一个随机延时
|
|
||||||
if (at_obj_exec_cmd(device->client, resp, TCP_SEND_DATA, socket_id, data) == RT_EOK)
|
if (at_obj_exec_cmd(device->client, resp, TCP_SEND_DATA, socket_id, data) == RT_EOK)
|
||||||
{
|
{
|
||||||
if ((line_buffer = at_resp_get_line(resp, 2)) != RT_NULL)
|
if ((line_buffer = at_resp_get_line(resp, 2)) != RT_NULL)
|
||||||
|
|
Loading…
Reference in New Issue