mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
component/bt: Set the style to the same, output the macro in the function.
1.After the separate, can save 15k~25k ram & 240k~460k code size(depending on the menuconfig).
This commit is contained in:
@@ -1594,11 +1594,11 @@ void l2cu_release_ccb (tL2C_CCB *p_ccb)
|
||||
if (!p_ccb->in_use) {
|
||||
return;
|
||||
}
|
||||
|
||||
#if (SDP_INCLUDED == TRUE)
|
||||
if (p_rcb && (p_rcb->psm != p_rcb->real_psm)) {
|
||||
btm_sec_clr_service_by_psm(p_rcb->psm);
|
||||
}
|
||||
|
||||
#endif ///SMP_INCLUDED == TRUE
|
||||
if (p_ccb->should_free_rcb) {
|
||||
osi_free(p_rcb);
|
||||
p_ccb->p_rcb = NULL;
|
||||
|
Reference in New Issue
Block a user