mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-22 01:02:57 +00:00
component/bt: reduce the size of DRAM
DRAM.data: 506B --> 196B DRAM.bss : 26857B --> 2170B
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user