component/bt: reduce the size of DRAM

DRAM.data:   506B -->  196B
DRAM.bss : 26857B --> 2170B
This commit is contained in:
baohongde
2018-11-06 15:34:38 +08:00
parent 21cce564ba
commit bd9fed4400
78 changed files with 1705 additions and 1036 deletions

View File

@@ -142,8 +142,13 @@ typedef struct {
#endif
} tGAP_CB;
#if GAP_DYNAMIC_MEMORY == FALSE
extern tGAP_CB gap_cb;
#else
extern tGAP_CB *gap_cb_ptr;
#define gap_cb (*gap_cb_ptr)
#endif
#if (GAP_CONN_INCLUDED == TRUE)
extern void gap_conn_init(void);
#endif