Skip to content

Commit

Permalink
feat(nvs): refactor espp::Nvs to use espp::NvsHandle (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
finger563 authored Jun 18, 2024
1 parent 8887bd4 commit be68510
Show file tree
Hide file tree
Showing 4 changed files with 253 additions and 429 deletions.
2 changes: 1 addition & 1 deletion components/nvs/example/main/nvs_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ extern "C" void app_main(void) {
// Open
fmt::print("\nOpening Non-Volatile Storage (NVS) handle... ");
// Handle will automatically close when going out of scope or when it's reset.
espp::NVSHandle storage("storage", ec);
espp::NvsHandle storage("storage", ec);
fmt::print("Done\n");
ec.clear();

Expand Down
Loading

0 comments on commit be68510

Please sign in to comment.