]> granicus.if.org Git - esp-idf/commitdiff
components/bt: Remove unused macro in menuconfig
authorbaohongde <baohongde@espressif.com>
Thu, 29 Aug 2019 11:58:05 +0000 (19:58 +0800)
committerbaohongde <baohongde@espressif.com>
Thu, 29 Aug 2019 11:58:05 +0000 (19:58 +0800)
components/bt/host/bluedroid/Kconfig.in
components/bt/host/bluedroid/common/include/common/bluedroid_user_config.h
components/bt/host/bluedroid/common/include/common/bt_target.h
components/bt/sdkconfig.rename
examples/bluetooth/bluedroid/coex/a2dp_gatts_coex/sdkconfig.defaults

index 21b3fc985a8a11d909d602ef182eef7f42885f0a..8d6d80768b1468891c98f777c4ebfe4381510fbf 100644 (file)
@@ -54,16 +54,6 @@ config BT_A2DP_ENABLE
     help
         Advanced Audio Distrubution Profile
 
-config BT_A2DP_SINK_TASK_STACK_SIZE
-    int "A2DP sink (audio stream decoding) task stack size"
-    depends on BT_A2DP_ENABLE
-    default 2048
-
-config BT_A2DP_SOURCE_TASK_STACK_SIZE
-    int "A2DP source (audio stream encoding) task stack size"
-    depends on BT_A2DP_ENABLE
-    default 2048
-
 config BT_SPP_ENABLED
     bool "SPP"
     depends on BT_CLASSIC_ENABLED
index b107a01e15de2d90e52bce1fa6b9eaca4db266a2..e14773310a874c4c87de276d24eafa44e98f6a20 100644 (file)
 #include "bt_common.h"
 #include "bt_user_config.h"
 
-/**********************************************************
- * Thread/Task reference
- **********************************************************/
-
-#ifdef CONFIG_A2DP_SINK_TASK_STACK_SIZE
-#define UC_A2DP_SINK_TASK_STACK_SIZE        CONFIG_A2DP_SINK_TASK_STACK_SIZE
-#else
-#define UC_A2DP_SINK_TASK_STACK_SIZE        2048
-#endif
-#ifdef CONFIG_A2DP_SOURCE_TASK_STACK_SIZE
-#define UC_A2DP_SOURCE_TASK_STACK_SIZE      CONFIG_A2DP_SOURCE_TASK_STACK_SIZE
-#else
-#define UC_A2DP_SOURCE_TASK_STACK_SIZE      2048
-#endif
-
 /**********************************************************
  * Profile reference
  **********************************************************/
index 146a1ad1102cb76c594eb35b6a3234deaf956f87..a59d3793e0d24611a1fd649b0acec094792e7799 100644 (file)
 
 #include "stack/dyn_mem.h"    /* defines static and/or dynamic memory for components */
 
-
-/* OS Configuration from User config (eg: sdkconfig) */
-#define A2DP_SINK_TASK_STACK_SIZE   UC_A2DP_SINK_TASK_STACK_SIZE
-#define A2DP_SOURCE_TASK_STACK_SIZE UC_A2DP_SOURCE_TASK_STACK_SIZE
-
 /******************************************************************************
 **
 ** Classic BT features
index 73c222685ddeb1a0fdaef9571d6974dd8e10aa35..2affb7cb77e99c2679cfab0d6384e5733b5e9f87 100644 (file)
@@ -42,8 +42,6 @@ CONFIG_BTU_TASK_STACK_SIZE                                  CONFIG_BT_BTU_TASK_S
 CONFIG_BLUEDROID_MEM_DEBUG                                  CONFIG_BT_BLUEDROID_MEM_DEBUG
 CONFIG_CLASSIC_BT_ENABLED                                   CONFIG_BT_CLASSIC_ENABLED
 CONFIG_A2DP_ENABLE                                          CONFIG_BT_A2DP_ENABLE
-CONFIG_A2DP_SINK_TASK_STACK_SIZE                            CONFIG_BT_A2DP_SINK_TASK_STACK_SIZE
-CONFIG_A2DP_SOURCE_TASK_STACK_SIZE                          CONFIG_BT_A2DP_SOURCE_TASK_STACK_SIZE
 CONFIG_HFP_ENABLE                                           CONFIG_BT_HFP_ENABLE
 CONFIG_HFP_ROLE                                             CONFIG_BT_HFP_ROLE
 CONFIG_HFP_CLIENT_ENABLE                                    CONFIG_BT_HFP_CLIENT_ENABLE
index 9c42997e133a210ec185caf6e52d2761555f9035..ca97b31243053713aa08f32ee03b30172eca2c5e 100644 (file)
@@ -19,7 +19,6 @@ CONFIG_BT_CLASSIC_ENABLED=y
 CONFIG_BT_A2DP_ENABLE=y
 CONFIG_A2DP_SINK_ENABLE=y
 CONFIG_A2DP_SRC_ENABLE=n
-CONFIG_BT_A2DP_SINK_TASK_STACK_SIZE=2048
 CONFIG_BT_SPP_ENABLED=n
 CONFIG_BT_GATTS_ENABLE=y
 CONFIG_BT_GATTC_ENABLE=n