]> granicus.if.org Git - esp-idf/commitdiff
Fix typo from the commit "Reduce the size of DRAM"
authorHrishikesh Dhayagude <hrishi@espressif.com>
Thu, 27 Jun 2019 02:48:47 +0000 (10:48 +0800)
committerJiang Jiang Jian <jack@espressif.com>
Thu, 27 Jun 2019 02:48:47 +0000 (10:48 +0800)
components/bt/bluedroid/btc/core/btc_dm.c
components/bt/bluedroid/btc/core/btc_manage.c
components/bt/bluedroid/btc/core/btc_task.c
components/bt/bluedroid/btc/include/btc/btc_dm.h
components/bt/bluedroid/btc/include/btc/btc_manage.h
components/bt/bluedroid/btc/profile/std/gap/btc_gap_ble.c
components/bt/bluedroid/btc/profile/std/include/btc_gap_ble.h
components/bt/bluedroid/stack/include/stack/dyn_mem.h

index 011d1ff93dffba32bb5403e651ac15a65138bfb6..5b712dbf17cc2483729fdd5b65ebf3493f829212 100644 (file)
@@ -41,7 +41,7 @@
 /******************************************************************************
 **  Static variables
 ******************************************************************************/
-#if BTC_DYNAMIC_MENDRY == FALSE
+#if BTC_DYNAMIC_MEMORY == FALSE
 btc_dm_cb_t btc_dm_cb = {0};
 #else
 btc_dm_cb_t *btc_dm_cb_ptr;
index 08afcb7543da9178a8125df64c86ccec195bb1b3..5f394ee946262ba7ae80b6060c355eaace16bf63 100644 (file)
@@ -19,7 +19,7 @@
 #include "esp_bt_defs.h"
 #include "esp_gatt_defs.h"
 
-#if BTC_DYNAMIC_MENDRY == FALSE
+#if BTC_DYNAMIC_MEMORY == FALSE
 void *btc_profile_cb_tab[BTC_PID_NUM] = {};
 #else
 void **btc_profile_cb_tab;
index edfc4a63f1fb548affddc457d85890f8935fe838..c0e57ee41782ff300ee7ba48fd0c2dcbb39cee63 100644 (file)
@@ -196,7 +196,7 @@ bt_status_t btc_transfer_context(btc_msg_t *msg, void *arg, int arg_len, btc_arg
 
 }
 
-#if BTC_DYNAMIC_MENDRY
+#if BTC_DYNAMIC_MEMORY
 
 static void btc_deinit_mem(void) {
     if (btc_dm_cb_ptr) {
@@ -311,7 +311,7 @@ error_exit:;
     btc_deinit_mem();
     return BT_STATUS_NOMEM;
 }
-#endif ///BTC_DYNAMIC_MENDRY
+#endif ///BTC_DYNAMIC_MEMORY
 
 int btc_init(void)
 {
@@ -320,7 +320,7 @@ int btc_init(void)
         return BT_STATUS_NOMEM;
     }
 
-#if BTC_DYNAMIC_MENDRY
+#if BTC_DYNAMIC_MEMORY
     if (btc_init_mem() != BT_STATUS_SUCCESS){
         return BT_STATUS_NOMEM;
     }
@@ -339,7 +339,7 @@ int btc_init(void)
 
 void btc_deinit(void)
 {
-#if BTC_DYNAMIC_MENDRY
+#if BTC_DYNAMIC_MEMORY
     btc_deinit_mem();
 #endif
 
index 1accc3970b933ff2f3aaff2759c26a2b1b65774d..4035969214b41b50101f75b638b4661afc9cc647 100644 (file)
@@ -75,7 +75,7 @@ typedef struct
 #endif
 } btc_dm_cb_t;
 
-#if BTC_DYNAMIC_MENDRY == FALSE
+#if BTC_DYNAMIC_MEMORY == FALSE
 extern btc_dm_cb_t btc_dm_cb;
 #else
 extern btc_dm_cb_t *btc_dm_cb_ptr;
index bd031a0e89ca94c67002725c5ec62bb312dcb3d4..48ba1c5e10ff6941b9eddc78390b867ce01c708c 100644 (file)
@@ -19,7 +19,7 @@
 #include "btc/btc_task.h"
 #include "esp_bt_defs.h"
 
-#if BTC_DYNAMIC_MENDRY == FALSE
+#if BTC_DYNAMIC_MEMORY == FALSE
 extern void *btc_profile_cb_tab[BTC_PID_NUM];
 #else
 extern void **btc_profile_cb_tab;
index 3355a5924b7e6c2088a0d9752013df8b80552a65..9f02cc26f597f5d447fa657165bbccb0d3560ed6 100644 (file)
@@ -32,7 +32,7 @@
 #include "esp_bt.h"
 
 #if (BLE_INCLUDED == TRUE)
-#if BTC_DYNAMIC_MENDRY == FALSE
+#if BTC_DYNAMIC_MEMORY == FALSE
 static tBTA_BLE_ADV_DATA gl_bta_adv_data;
 static tBTA_BLE_ADV_DATA gl_bta_scan_rsp_data;
 #else
@@ -1373,4 +1373,4 @@ void btc_adv_list_unlock(void)
     osi_mutex_unlock(&adv_list_lock);
 }
 #endif
-#endif  ///BLE_INCLUDED == TRUE
\ No newline at end of file
+#endif  ///BLE_INCLUDED == TRUE
index b5e2effe7e155a157fb7ad0519936b68a41206db..3af1559ff860428baac9080122be202ca9962654 100644 (file)
@@ -18,7 +18,7 @@
 #include "esp_bt_defs.h"
 #include "esp_gap_ble_api.h"
 
-#if BTC_DYNAMIC_MENDRY == TRUE
+#if BTC_DYNAMIC_MEMORY == TRUE
 #include "bta/bta_api.h"
 extern tBTA_BLE_ADV_DATA *gl_bta_adv_data_ptr;
 extern tBTA_BLE_ADV_DATA *gl_bta_scan_rsp_data_ptr;
index 1241c3a85a31ab4cbf943b0d827f7ef7a41332a9..c2679a318b71a823ef6bdec986eefdfcb29e90ff 100644 (file)
@@ -28,7 +28,7 @@
 #define GATT_DYNAMIC_MEMORY        TRUE
 #define SMP_DYNAMIC_MEMORY         TRUE
 #define BTA_DYNAMIC_MEMORY         TRUE
-#define BTC_DYNAMIC_MENDRY         TRUE
+#define BTC_DYNAMIC_MEMORY         TRUE
 #define SDP_DYNAMIC_MEMORY         TRUE
 #define GAP_DYNAMIC_MEMORY         TRUE
 #define RFC_DYNAMIC_MEMORY         TRUE
@@ -64,7 +64,7 @@
 #define GATT_DYNAMIC_MEMORY        FALSE
 #define SMP_DYNAMIC_MEMORY         FALSE
 #define BTA_DYNAMIC_MEMORY         FALSE
-#define BTC_DYNAMIC_MENDRY         FALSE
+#define BTC_DYNAMIC_MEMORY         FALSE
 #define SDP_DYNAMIC_MEMORY         FALSE
 #define GAP_DYNAMIC_MEMORY         FALSE
 #define RFC_DYNAMIC_MEMORY         FALSE
 #define BTA_DYNAMIC_MEMORY FALSE
 #endif
 
-#ifndef BTC_DYNAMIC_MENDRY
-#define BTC_DYNAMIC_MENDRY FALSE
+#ifndef BTC_DYNAMIC_MEMORY
+#define BTC_DYNAMIC_MEMORY FALSE
 #endif
 
 #endif  /* #ifdef DYN_MEM_H */