Function esp_idf_sys::nvs_close

source ·
pub unsafe extern "C" fn nvs_close(handle: nvs_handle_t)
Expand description

@brief Close the storage handle and free any allocated resources

This function should be called for each handle opened with nvs_open once the handle is not in use any more. Closing the handle may not automatically write the changes to nonvolatile storage. This has to be done explicitly using nvs_commit function. Once this function is called on a handle, the handle should no longer be used.

@param[in] handle Storage handle to close