From 2cd92d921156e9c84915520186fd611062537f65 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Wed, 3 Apr 2024 11:45:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AF=8F=E6=AC=A1=E5=90=AF=E5=8A=A8=E5=B9=BF?= =?UTF-8?q?=E6=92=AD=E5=89=8D=EF=BC=8C=E9=83=BD=E5=B0=9D=E8=AF=95=E5=81=9C?= =?UTF-8?q?=E6=AD=A2=E5=B9=BF=E6=92=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/zble_module.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/zble_module.c b/src/zble_module.c index e9273bd..6929d47 100644 --- a/src/zble_module.c +++ b/src/zble_module.c @@ -145,6 +145,7 @@ static void on_adv_evt(ble_adv_evt_t ble_adv_evt) void zble_module_start_adv() { + sd_ble_gap_adv_stop(m_advertising.adv_handle); uint32_t err_code = ble_advertising_start(&m_advertising, BLE_ADV_MODE_FAST); ZERROR_CHECK(err_code); }