mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-06-06 05:14:45 +00:00
refactor: move ble_hs_misc_null_addr to only usage, make static
This commit is contained in:
committed by
Szymon Janc
parent
10beb51ea4
commit
00d10c2d99
@@ -23,6 +23,8 @@
|
||||
|
||||
static uint8_t ble_hs_id_pub[6];
|
||||
static uint8_t ble_hs_id_rnd[6];
|
||||
static const uint8_t ble_hs_misc_null_addr[6];
|
||||
|
||||
|
||||
void
|
||||
ble_hs_id_set_pub(const uint8_t *pub_addr)
|
||||
|
||||
@@ -22,8 +22,6 @@
|
||||
#include "os/os.h"
|
||||
#include "ble_hs_priv.h"
|
||||
|
||||
const uint8_t ble_hs_misc_null_addr[6];
|
||||
|
||||
int
|
||||
ble_hs_misc_conn_chan_find(uint16_t conn_handle, uint16_t cid,
|
||||
struct ble_hs_conn **out_conn,
|
||||
|
||||
@@ -94,8 +94,6 @@ extern struct os_mbuf_pool ble_hs_mbuf_pool;
|
||||
extern uint8_t ble_hs_sync_state;
|
||||
extern uint8_t ble_hs_enabled_state;
|
||||
|
||||
extern const uint8_t ble_hs_misc_null_addr[6];
|
||||
|
||||
extern uint16_t ble_hs_max_attrs;
|
||||
extern uint16_t ble_hs_max_services;
|
||||
extern uint16_t ble_hs_max_client_configs;
|
||||
|
||||
Reference in New Issue
Block a user