[net][at] Modify AT commands send timeout error log level

Signed-off-by: chenyong <1521761801@qq.com>
This commit is contained in:
chenyong 2019-04-26 10:04:43 +08:00
parent 6f732ebb7f
commit 99c069ffd3
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ int at_obj_exec_cmd(at_client_t client, at_response_t resp, const char *cmd_expr
if (rt_sem_take(client->resp_notice, resp->timeout) != RT_EOK) if (rt_sem_take(client->resp_notice, resp->timeout) != RT_EOK)
{ {
cmd = at_get_last_cmd(&cmd_size); cmd = at_get_last_cmd(&cmd_size);
LOG_E("execute command (%.*s) timeout (%d ticks)!", cmd_size, cmd, resp->timeout); LOG_D("execute command (%.*s) timeout (%d ticks)!", cmd_size, cmd, resp->timeout);
client->resp_status = AT_RESP_TIMEOUT; client->resp_status = AT_RESP_TIMEOUT;
result = -RT_ETIMEOUT; result = -RT_ETIMEOUT;
goto __exit; goto __exit;