From 85ea0ad683bba2857b47cba8b9f019de80dc7fec 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 19:20:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AC=E5=9C=B0=E8=87=AA=E6=A3=80=E5=85=B3?= =?UTF-8?q?=E6=97=A0=E7=BA=BF=E9=98=80=E9=97=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- applications/main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/applications/main.c b/applications/main.c index 910aa2c..4380cec 100644 --- a/applications/main.c +++ b/applications/main.c @@ -2,7 +2,7 @@ * @Author: mbw * @Date: 2024-10-23 17:14:16 * @LastEditors: mbw && 1600520629@qq.com - * @LastEditTime: 2025-02-21 15:41:41 + * @LastEditTime: 2025-02-22 19:15:35 * @FilePath: \ble_bjq_ch303rct6_ml307\applications\main.c * @Descrt_thread_ * @@ -322,7 +322,9 @@ int main(void) EMV_BACKWARD_ON(50); if (Flash_Get_Valve_Num()) { - Bt_Valve_Handler(kValveCmdCtr, 0, RT_NULL); // 自检无线阀门 + rt_uint8_t mac_addr[6]; + Flash_Get_Mac_Addr(mac_addr, 1); + Bt_Valve_Handler(kValveCmdCtr, 1, mac_addr); if (rt_sem_take(&bt_ctr_sem, 10000) == RT_EOK) { LOG_D("电磁阀动作完成");