forked from espressif/esp-idf
Add declarations of private nvs functions (nvs_*) in nvs_flash component to fix C++ -Wmissing-declarations warning
Merges https://github.com/espressif/esp-idf/pull/1956
This commit is contained in:
committed by
Angus Gratton
parent
e5ac96f49a
commit
c83c3b64cd
@ -28,6 +28,9 @@ static const char* TAG = "nvs";
|
|||||||
#define ESP_LOGD(...)
|
#define ESP_LOGD(...)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern "C" void nvs_dump(const char *partName);
|
||||||
|
extern "C" esp_err_t nvs_flash_init_custom(const char *partName, uint32_t baseSector, uint32_t sectorCount);
|
||||||
|
|
||||||
class HandleEntry : public intrusive_list_node<HandleEntry>
|
class HandleEntry : public intrusive_list_node<HandleEntry>
|
||||||
{
|
{
|
||||||
static uint32_t s_nvs_next_handle;
|
static uint32_t s_nvs_next_handle;
|
||||||
|
Reference in New Issue
Block a user