pub unsafe extern "C" fn heap_caps_register_failed_alloc_callback(
callback: esp_alloc_failed_hook_t,
) -> esp_err_t
Expand description
@brief registers a callback function to be invoked if a memory allocation operation fails @param callback caller defined callback to be invoked @return ESP_OK if callback was registered.