This commit is contained in:
小马_666 2025-06-04 14:17:37 +08:00
parent b598b06938
commit 0e382febc5
2 changed files with 3 additions and 0 deletions

View File

@ -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
{

View File

@ -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))
{