From df8ff9d1aed1bd141bb9962e3700415d5ae23f11 Mon Sep 17 00:00:00 2001 From: shao7936626 <228112715@qq.com> Date: Fri, 20 Dec 2019 11:04:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=8A=E5=90=AF=E5=8A=A8=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E6=94=B9=E7=9F=AD=EF=BC=8C=E5=B0=86=E5=BB=B6=E6=97=B6=E6=94=B9?= =?UTF-8?q?=E5=88=B0wait=5Fconnect=5Ftime=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- class/air720/at_device_air720.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/class/air720/at_device_air720.c b/class/air720/at_device_air720.c index 5f675db..189a86a 100644 --- a/class/air720/at_device_air720.c +++ b/class/air720/at_device_air720.c @@ -36,7 +36,7 @@ #ifdef AT_DEVICE_USING_AIR720 -#define AIR720_WAIT_CONNECT_TIME 5000 +#define AIR720_WAIT_CONNECT_TIME 30000 #define AIR720_THREAD_STACK_SIZE 2048 #define AIR720_THREAD_PRIORITY (RT_THREAD_PRIORITY_MAX / 2) // #define AIR720_THREAD_PRIORITY 6 @@ -664,7 +664,7 @@ static void air720_init_thread_entry(void *parameter) rt_memset(parsed_data, 0, sizeof(parsed_data)); rt_thread_mdelay(1000); air720_power_on(device); - rt_thread_mdelay(25000); //check the air720 hardware manual, when we use the pow_key to start air720, it takes about 20s,so we put 25s here to ensure starting air720 normally. + rt_thread_mdelay(5000); //check the air720 hardware manual, when we use the pow_key to start air720, it takes about 20s,so we put 25s here to ensure starting air720 normally. LOG_I("start initializing the air720 device(%s)", device->name); /* wait air720 startup finish */