1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-25 14:42:21 +01:00

ESP32 Use NVS directly (#659)

This commit is contained in:
Otto Winter
2019-07-03 16:34:40 +02:00
committed by GitHub
parent 0ef1d178d2
commit 81a070d03d
4 changed files with 51 additions and 19 deletions

View File

@@ -40,7 +40,7 @@ class Application {
void pre_setup(const std::string &name, const char *compilation_time) {
this->name_ = name;
this->compilation_time_ = compilation_time;
global_preferences.begin(this->name_);
global_preferences.begin();
}
#ifdef USE_BINARY_SENSOR