mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
blufi: remove duplicate definition of blufi_env
Keeping the single definition in blufi_prf.c
This commit is contained in:
parent
f770cf721a
commit
20286b37b2
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
|
* SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
@ -35,12 +35,6 @@
|
|||||||
|
|
||||||
#if (BLUFI_INCLUDED == TRUE)
|
#if (BLUFI_INCLUDED == TRUE)
|
||||||
|
|
||||||
#if GATT_DYNAMIC_MEMORY == FALSE
|
|
||||||
tBLUFI_ENV blufi_env;
|
|
||||||
#else
|
|
||||||
tBLUFI_ENV *blufi_env_ptr;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static uint8_t server_if;
|
static uint8_t server_if;
|
||||||
static uint16_t conn_id;
|
static uint16_t conn_id;
|
||||||
static uint8_t blufi_service_uuid128[32] = {
|
static uint8_t blufi_service_uuid128[32] = {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
|
* SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
@ -18,7 +18,6 @@
|
|||||||
|
|
||||||
//#include "esp_wifi.h"
|
//#include "esp_wifi.h"
|
||||||
#if (BLUFI_INCLUDED == TRUE)
|
#if (BLUFI_INCLUDED == TRUE)
|
||||||
// extern tBLUFI_ENV blufi_env;
|
|
||||||
|
|
||||||
void btc_blufi_protocol_handler(uint8_t type, uint8_t *data, int len)
|
void btc_blufi_protocol_handler(uint8_t type, uint8_t *data, int len)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user