This commit is contained in:
parent
b598b06938
commit
0e382febc5
|
@ -396,6 +396,7 @@ int BSP_Bt_Process (uint8_t *data, uint16_t len)
|
|||
}
|
||||
to_sever_send_bt_connect_flag = 1;
|
||||
Ml307_Send_Event (kMl307ValveConnectEvent);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -1813,6 +1813,8 @@ static void Ml307_Send_Thread_Entry (void *param)
|
|||
{
|
||||
LOG_E ("ml307 send data failed result = [%d]\n", result);
|
||||
}
|
||||
rt_thread_mdelay(5000);
|
||||
Ml307_Send_Event (kMl307HeartbeatEvent);
|
||||
}
|
||||
else if (ml307_recv_event & Ml307_Get_Event_Flag (KMl307ValveDisconnectEvent))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue