configulator/include/cfglr_nvs.h
2024-07-31 12:51:12 -07:00

13 lines
384 B
C

#ifndef __CFGLR_NVS_H__
#define __CFGLR_NVS_H__
#if ESP_PLATFORM
#include "nvs_flash.h"
#include "configulator.h"
void cfglr_backend_nvs_open(cfglr_backend_t *backend, cfglr_handle_t *handle);
void cfglr_backend_nvs_close(cfglr_backend_t *backend, cfglr_handle_t *handle);
#define CFGLR_BACKEND_NVS() CFGLR_BACKEND(&cfglr_backend_nvs_open, &cfglr_backend_nvs_close)
#endif
#endif