7 namespace preferences {
void set_interval(const std::string &name, uint32_t interval, std::function< void()> &&f)
Set an interval function with a unique name.
float get_setup_priority() const override
const float BUS
For communication buses like i2c/spi.
ESPPreferences * global_preferences
void set_write_interval(uint32_t write_interval)
void on_shutdown() override
Implementation of SPI Controller mode.
virtual bool sync()=0
Commit pending writes to flash.