Home
last modified time | relevance | path

Searched refs:spp_local_param (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/spp/
Dbtc_spp.c90 static spp_local_param_t spp_local_param; variable
93 #define spp_local_param (*spp_local_param_ptr) macro
105 #define is_spp_init() (spp_local_param.spp_slot_mutex != NULL)
107 #define is_spp_init() (&spp_local_param != NULL && spp_local_param.spp_slot_mutex != NULL)
130 if (++spp_local_param.spp_slot_id == 0) { in spp_malloc_slot()
131 spp_local_param.spp_slot_id = 1; in spp_malloc_slot()
134 slot = &spp_local_param.spp_slots[i]; in spp_malloc_slot()
139 (*slot)->id = spp_local_param.spp_slot_id; in spp_malloc_slot()
155 if (spp_local_param.tx_event_group) { in spp_malloc_slot()
156 … xEventGroupClearBits(spp_local_param.tx_event_group, SLOT_WRITE_BIT(i) | SLOT_CLOSE_BIT(i)); in spp_malloc_slot()
[all …]