Function esp_idf_svc::hal::sys::nvs_close
source ยท pub unsafe extern "C" fn nvs_close(handle: u32)
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