Explorar el Código

ble_mesh: stack: Remove useless BT_DBG_ENABLED in a few files

lly hace 5 años
padre
commit
f031dc6d29

+ 0 - 2
components/bt/esp_ble_mesh/mesh_core/access.c

@@ -10,8 +10,6 @@
 #include <stdbool.h>
 #include <errno.h>
 
-#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BLE_MESH_DEBUG_ACCESS)
-
 #include "mesh.h"
 #include "adv.h"
 #include "transport.h"

+ 0 - 2
components/bt/esp_ble_mesh/mesh_core/adv.c

@@ -11,8 +11,6 @@
 #include <string.h>
 #include <errno.h>
 
-#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BLE_MESH_DEBUG_ADV)
-
 #include "mesh_kernel.h"
 #include "mesh.h"
 #include "mesh_hci.h"

+ 0 - 2
components/bt/esp_ble_mesh/mesh_core/beacon.c

@@ -10,8 +10,6 @@
 #include <string.h>
 #include <errno.h>
 
-#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BLE_MESH_DEBUG_BEACON)
-
 #include "adv.h"
 #include "mesh.h"
 #include "prov.h"

+ 0 - 2
components/bt/esp_ble_mesh/mesh_core/cfg_cli.c

@@ -11,8 +11,6 @@
 #include <errno.h>
 #include <stdbool.h>
 
-#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BLE_MESH_DEBUG_MODEL)
-
 #include "btc_ble_mesh_config_model.h"
 
 #include "mesh.h"

+ 0 - 2
components/bt/esp_ble_mesh/mesh_core/cfg_srv.c

@@ -11,8 +11,6 @@
 #include <errno.h>
 #include <stdbool.h>
 
-#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BLE_MESH_DEBUG_MODEL)
-
 #include "btc_ble_mesh_config_model.h"
 
 #include "mesh.h"

+ 0 - 2
components/bt/esp_ble_mesh/mesh_core/crypto.c

@@ -11,8 +11,6 @@
 #include <stdbool.h>
 #include <errno.h>
 
-#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BLE_MESH_DEBUG_CRYPTO)
-
 #include <tinycrypt/aes.h>
 #include <tinycrypt/constants.h>
 #include <tinycrypt/cmac_mode.h>

+ 0 - 2
components/bt/esp_ble_mesh/mesh_core/friend.c

@@ -10,8 +10,6 @@
 #include <errno.h>
 #include <string.h>
 
-#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BLE_MESH_DEBUG_FRIEND)
-
 #include "crypto.h"
 #include "adv.h"
 #include "mesh.h"

+ 0 - 2
components/bt/esp_ble_mesh/mesh_core/health_cli.c

@@ -10,8 +10,6 @@
 #include <string.h>
 #include <errno.h>
 
-#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BLE_MESH_DEBUG_MODEL)
-
 #include "btc_ble_mesh_health_model.h"
 
 #include "mesh_config.h"

+ 0 - 2
components/bt/esp_ble_mesh/mesh_core/health_srv.c

@@ -10,8 +10,6 @@
 #include <string.h>
 #include <errno.h>
 
-#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BLE_MESH_DEBUG_MODEL)
-
 #include "btc_ble_mesh_health_model.h"
 
 #include "access.h"

+ 0 - 2
components/bt/esp_ble_mesh/mesh_core/lpn.c

@@ -9,8 +9,6 @@
 #include <stdint.h>
 #include <errno.h>
 
-#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BLE_MESH_DEBUG_LOW_POWER)
-
 #include "crypto.h"
 #include "adv.h"
 #include "mesh.h"

+ 0 - 2
components/bt/esp_ble_mesh/mesh_core/main.c

@@ -10,8 +10,6 @@
 #include <string.h>
 #include <errno.h>
 
-#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BLE_MESH_DEBUG)
-
 #include "adv.h"
 #include "prov.h"
 #include "beacon.h"

+ 0 - 2
components/bt/esp_ble_mesh/mesh_core/net.c

@@ -11,8 +11,6 @@
 #include <errno.h>
 #include <stdbool.h>
 
-#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BLE_MESH_DEBUG_NET)
-
 #include "crypto.h"
 #include "adv.h"
 #include "mesh.h"

+ 0 - 2
components/bt/esp_ble_mesh/mesh_core/prov.c

@@ -9,8 +9,6 @@
 #include <errno.h>
 #include <string.h>
 
-#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BLE_MESH_DEBUG_PROV)
-
 #include "crypto.h"
 #include "adv.h"
 #include "mesh.h"

+ 0 - 2
components/bt/esp_ble_mesh/mesh_core/proxy_server.c

@@ -9,8 +9,6 @@
 #include <string.h>
 #include <errno.h>
 
-#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BLE_MESH_DEBUG_PROXY)
-
 #include "mesh.h"
 #include "adv.h"
 #include "prov.h"

+ 0 - 2
components/bt/esp_ble_mesh/mesh_core/settings.c

@@ -8,8 +8,6 @@
 #include <errno.h>
 #include <string.h>
 
-#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BLE_MESH_DEBUG_SETTINGS)
-
 #include "mesh.h"
 #include "crypto.h"
 #include "transport.h"

+ 0 - 2
components/bt/esp_ble_mesh/mesh_core/transport.c

@@ -10,8 +10,6 @@
 #include <string.h>
 #include <errno.h>
 
-#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BLE_MESH_DEBUG_TRANS)
-
 #include "crypto.h"
 #include "adv.h"
 #include "mesh.h"