16#ifdef USE_LIBRETINY_RTC_PREFERENCES
35 bool is_changed_(fdb_kvdb_t
db,
const NVSData &to_save,
const char *key_str);
36#ifdef USE_LIBRETINY_RTC_PREFERENCES
CRTP mixin providing type-safe template make_preference<T>() helpers.
ESPPreferenceObject make_preference(size_t length, uint32_t type, bool in_flash)
bool load_from_key(uint32_t type, uint8_t *data, size_t len)
One-shot read of a stored preference by key, without allocating a backend.
bool is_changed_(fdb_kvdb_t db, const NVSData &to_save, const char *key_str)
void discard_rtc_entries_()
LibreTinyPreferenceBackend make_backend_(uint32_t type, bool rtc=false)