mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-06-05 21:04:49 +00:00
Fixed the compilation issue due to redeclaration after disabling ble_sm_feature
This commit is contained in:
committed by
Abhinav Kudnar
parent
66b301dbcd
commit
b3c550b13b
@@ -589,8 +589,9 @@ ble_gatts_calculate_hash(uint8_t *out_hash_key)
|
||||
int size;
|
||||
int rc;
|
||||
uint8_t *buf;
|
||||
uint8_t key[16] = {0};
|
||||
uint8_t key[16];
|
||||
|
||||
memset(key, 0, sizeof(key));
|
||||
/* data with all zeroes */
|
||||
rc = ble_att_get_database_size(&size);
|
||||
if(rc != 0) {
|
||||
|
||||
@@ -433,7 +433,6 @@ int ble_sm_init(void);
|
||||
struct ble_l2cap_chan *ble_sm_create_chan(uint16_t handle);
|
||||
void *ble_sm_cmd_get(uint8_t opcode, size_t len, struct os_mbuf **txom);
|
||||
int ble_sm_tx(uint16_t conn_handle, struct os_mbuf *txom);
|
||||
int ble_sm_alg_aes_cmac(const uint8_t *key, const uint8_t *in, size_t len, uint8_t *out);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user