This commit is contained in:
parent
40c054d491
commit
ca4c102702
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue