mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
fix(ble/bluedroid): Delete BLE_HOST_EXECUTE_CBACK_EN
This commit is contained in:
@@ -4659,28 +4659,6 @@ void bta_dm_eir_update_uuid(tBT_UUID uuid, BOOLEAN adding)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if (BLE_HOST_EXECUTE_CBACK_EN == TRUE)
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Function bta_dm_execute_callback
|
||||
**
|
||||
** Description Just execute a generic call back in the context of the BTU/BTA tack
|
||||
**
|
||||
**
|
||||
** Returns void
|
||||
**
|
||||
*******************************************************************************/
|
||||
void bta_dm_execute_callback(tBTA_DM_MSG *p_data)
|
||||
{
|
||||
/* sanity check */
|
||||
if (p_data->exec_cback.p_exec_cback == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
p_data->exec_cback.p_exec_cback(p_data->exec_cback.p_param);
|
||||
}
|
||||
#endif // #if (BLE_HOST_EXECUTE_CBACK_EN == TRUE)
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Function bta_dm_encrypt_cback
|
||||
|
||||
Reference in New Issue
Block a user