From c42ac3f0aaab7eb9c1765b2b3a5042745e71bf53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=A9=AC=5F666?= <13089258+pony-six-hundred-and-sixty-six@user.noreply.gitee.com> Date: Sat, 22 Feb 2025 16:02:29 +0800 Subject: [PATCH] =?UTF-8?q?6=E5=8F=B0=E6=A0=B7=E5=93=81=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/src/bsp_ml307.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/src/bsp_ml307.c b/bsp/src/bsp_ml307.c index 03ab2cb..63e95a4 100644 --- a/bsp/src/bsp_ml307.c +++ b/bsp/src/bsp_ml307.c @@ -1827,10 +1827,10 @@ static void Ml307_Life_Thread_Entry(void *parameter) goto __exit; } /* Define PDP Context */ - rt_uint8_t i = 0, + rt_uint8_t i = 0; for (i = 0; i < 5; i++) { - if (at_obj_exec_cmd(client, resp, "AT+CGDCONT=1,\"IPV4V6\",\"cmnet\"") == RT_EOK) + if (at_obj_exec_cmd(device->client, resp, "AT+CGDCONT=1,\"IPV4V6\",\"cmnet\"") == RT_EOK) { LOG_D("%s device Define PDP Context Success.", device->name); break;