Browse Source

update

master
zhaohe 1 year ago
parent
commit
1263772874
  1. 4
      src/zble_module.c

4
src/zble_module.c

@ -150,8 +150,8 @@ void zble_module_start_adv()
} }
void zble_module_stop_adv() void zble_module_stop_adv()
{ {
uint32_t err_code = sd_ble_gap_adv_stop(m_advertising.adv_handle);
ZERROR_CHECK(err_code);
sd_ble_gap_adv_stop(m_advertising.adv_handle);
// ZERROR_CHECK(err_code);
} }
bool zble_module_is_connected() { return m_conn_handle != BLE_CONN_HANDLE_INVALID; } bool zble_module_is_connected() { return m_conn_handle != BLE_CONN_HANDLE_INVALID; }

Loading…
Cancel
Save