esp_idf_hal::sys

Function multi_heap_restore_minimum_free_bytes

Source
pub unsafe extern "C" fn multi_heap_restore_minimum_free_bytes(
    heap: *mut multi_heap_info,
    new_minimum_free_bytes_value: usize,
)
Expand description

@brief Set the value of minimum_free_bytes to new_minimum_free_bytes_value or keep the current value of minimum_free_bytes if it is smaller than new_minimum_free_bytes_value

@param heap The heap in which the restore is taking place @param new_minimum_free_bytes_value The value to restore the minimum_free_bytes to