diff options
author | Zach Johnson <zachoverflow@google.com> | 2014-10-20 13:22:43 -0700 |
---|---|---|
committer | Andre Eisenbach <eisenbach@google.com> | 2015-03-16 16:51:36 -0700 |
commit | 9df3c8cb90caea19b96a84aedec6f275b7b53b70 (patch) | |
tree | 638d70f503aed01c99eabb2d5d07a2f7a3233cac /include | |
parent | e623c26bb2e14c2fa7cf76d55e51d93c1ac42782 (diff) | |
download | android_system_bt-9df3c8cb90caea19b96a84aedec6f275b7b53b70.tar.gz android_system_bt-9df3c8cb90caea19b96a84aedec6f275b7b53b70.tar.bz2 android_system_bt-9df3c8cb90caea19b96a84aedec6f275b7b53b70.zip |
Remove a bunch of always-false macros
Referenced missing header files, so they wouldn't even
compile if set to true.
Diffstat (limited to 'include')
-rw-r--r-- | include/bt_target.h | 123 |
1 files changed, 0 insertions, 123 deletions
diff --git a/include/bt_target.h b/include/bt_target.h index 744dcac27..2143e53b4 100644 --- a/include/bt_target.h +++ b/include/bt_target.h @@ -68,14 +68,6 @@ #define BTA_AG_INCLUDED TRUE #endif -#ifndef BTA_BI_INCLUDED -#define BTA_BI_INCLUDED FALSE -#endif - -#ifndef BTA_SC_INCLUDED -#define BTA_SC_INCLUDED FALSE -#endif - #ifndef BTA_PAN_INCLUDED #define BTA_PAN_INCLUDED TRUE #endif @@ -1500,21 +1492,6 @@ Note: This pool needs to have enough buffers to hold two times the window size #define GAP_INCLUDED TRUE #endif -/****************************************************************************** -** -** SPP -** -******************************************************************************/ - -#ifndef SPP_INCLUDED -#define SPP_INCLUDED FALSE -#endif - -/* The SPP discovery record size. */ -#ifndef SPP_DISC_REC_SIZE -#define SPP_DISC_REC_SIZE 60 -#endif - /* keep the raw data received from SDP server in database. */ #ifndef SDP_RAW_DATA_INCLUDED #define SDP_RAW_DATA_INCLUDED TRUE @@ -1527,48 +1504,10 @@ Note: This pool needs to have enough buffers to hold two times the window size /****************************************************************************** ** -** HSP2, HFP -** -******************************************************************************/ - -#ifndef HSP2_INCLUDED -#define HSP2_INCLUDED FALSE -#endif - -/* The time in seconds to wait for completion of a partial AT command or response from the peer. */ -#ifndef HSP2_AT_TO_INTERVAL -#define HSP2_AT_TO_INTERVAL 30 -#endif - -#ifndef HSP2_MAX_AT_VAL_LENGTH -#if (defined(HFP_INCLUDED) && HFP_INCLUDED == TRUE) -#define HSP2_MAX_AT_VAL_LENGTH 310 -#else -#define HSP2_MAX_AT_VAL_LENGTH 5 -#endif -#endif - -/****************************************************************************** -** -** HFP -** -******************************************************************************/ - -#ifndef HFP_INCLUDED -#define HFP_INCLUDED FALSE -#endif - -/****************************************************************************** -** ** HID ** ******************************************************************************/ -/* HID Device Role Included */ -#ifndef HID_DEV_INCLUDED -#define HID_DEV_INCLUDED FALSE -#endif - #ifndef HID_DEV_PM_INCLUDED #define HID_DEV_PM_INCLUDED TRUE #endif @@ -1629,58 +1568,6 @@ Note: This pool needs to have enough buffers to hold two times the window size /****************************************************************************** ** -** OPP -** -******************************************************************************/ - -#ifndef OPP_INCLUDED -#define OPP_INCLUDED FALSE -#endif - -/****************************************************************************** -** -** BPP Printer -** -******************************************************************************/ -#ifndef BPP_INCLUDED -#define BPP_INCLUDED FALSE -#endif - -#ifndef BPP_SND_INCLUDED -#define BPP_SND_INCLUDED FALSE -#endif - -/****************************************************************************** -** -** BIP -** -******************************************************************************/ -#ifndef BIP_INCLUDED -#define BIP_INCLUDED FALSE -#endif - -/****************************************************************************** -** -** HCRP -** -******************************************************************************/ - -#ifndef HCRP_INCLUDED -#define HCRP_INCLUDED FALSE -#endif - -/* This is set to enable server. */ -#ifndef HCRP_SERVER_INCLUDED -#define HCRP_SERVER_INCLUDED FALSE -#endif - -/* This is set to enable client. */ -#ifndef HCRP_CLIENT_INCLUDED -#define HCRP_CLIENT_INCLUDED FALSE -#endif - -/****************************************************************************** -** ** PAN ** ******************************************************************************/ @@ -1689,16 +1576,6 @@ Note: This pool needs to have enough buffers to hold two times the window size #define PAN_INCLUDED FALSE #endif -/****************************************************************************** -** -** SAP -** -******************************************************************************/ - -#ifndef SAP_SERVER_INCLUDED -#define SAP_SERVER_INCLUDED FALSE -#endif - /************************************************************************* * A2DP Definitions */ |