From ca4c1027028418ab0bfe1feb1eb732c38eeab3c6 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: Fri, 9 May 2025 16:48:37 +0800 Subject: [PATCH] =?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_bt.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/bsp/src/bsp_bt.c b/bsp/src/bsp_bt.c index 44781e3..284151b 100644 --- a/bsp/src/bsp_bt.c +++ b/bsp/src/bsp_bt.c @@ -2,7 +2,7 @@ * @Author: mbw * @Date: 2024-12-03 10:31:45 * @LastEditors: mbw && 1600520629@qq.com - * @LastEditTime: 2025-04-22 14:50:43 + * @LastEditTime: 2025-05-09 16:48:18 * @FilePath: \ble_bjq_ch303rct6_ml307\bsp\src\bsp_bt.c * @Description: * @@ -380,19 +380,11 @@ int BSP_Bt_Process(uint8_t *data, uint16_t len) if(valve[data_buf[3] - 1].valve_connct_status == 1) { LOG_D("阀门连接"); - while (!power_on_send_flag)//等待4G模块联网完成 - { - rt_thread_mdelay(100); - } Ml307_Send_Event(kMl307ValveConnectEvent); } else { LOG_D("阀门断开"); - while (!power_on_send_flag) - { - rt_thread_mdelay(100); - } Ml307_Send_Event(KMl307ValveDisconnectEvent); } break;