component/bt : decrese dram

1. decrease some resource
This commit is contained in:
Tian Hao 2016-11-25 21:24:16 +08:00
parent ac87ddfb05
commit c9a0b9a45c
3 changed files with 5 additions and 5 deletions

View File

@ -227,7 +227,7 @@ const tBTM_APPL_INFO bta_security = {
}; };
#define MAX_DISC_RAW_DATA_BUF (4096) #define MAX_DISC_RAW_DATA_BUF (1024)
UINT8 g_disc_raw_data_buf[MAX_DISC_RAW_DATA_BUF]; UINT8 g_disc_raw_data_buf[MAX_DISC_RAW_DATA_BUF];
extern DEV_CLASS local_device_default_class; extern DEV_CLASS local_device_default_class;

View File

@ -77,12 +77,12 @@ typedef UINT16 tBTA_GATTC_INT_EVT;
/* max client application GATTC can support */ /* max client application GATTC can support */
#ifndef BTA_GATTC_CL_MAX #ifndef BTA_GATTC_CL_MAX
#define BTA_GATTC_CL_MAX 8 // 32 #define BTA_GATTC_CL_MAX 3 // 32
#endif #endif
/* max known devices GATTC can support */ /* max known devices GATTC can support */
#ifndef BTA_GATTC_KNOWN_SR_MAX #ifndef BTA_GATTC_KNOWN_SR_MAX
#define BTA_GATTC_KNOWN_SR_MAX 5 // 10 #define BTA_GATTC_KNOWN_SR_MAX 3 // 10
#endif #endif
#define BTA_GATTC_CONN_MAX GATT_MAX_PHY_CHANNEL #define BTA_GATTC_CONN_MAX GATT_MAX_PHY_CHANNEL

View File

@ -403,7 +403,7 @@
/* Includes SCO if TRUE */ /* Includes SCO if TRUE */
#ifndef BTM_SCO_INCLUDED #ifndef BTM_SCO_INCLUDED
#define BTM_SCO_INCLUDED TRUE /* TRUE includes SCO code */ #define BTM_SCO_INCLUDED FALSE //TRUE /* TRUE includes SCO code */
#endif #endif
/* Includes SCO if TRUE */ /* Includes SCO if TRUE */
@ -480,7 +480,7 @@
/* The number of SCO links. */ /* The number of SCO links. */
#ifndef BTM_MAX_SCO_LINKS #ifndef BTM_MAX_SCO_LINKS
#define BTM_MAX_SCO_LINKS 3 #define BTM_MAX_SCO_LINKS 1 //3
#endif #endif
/* The preferred type of SCO links (2-eSCO, 0-SCO). */ /* The preferred type of SCO links (2-eSCO, 0-SCO). */