diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-09-13 10:09:04 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-09-13 10:09:04 +1000 |
| commit | 0ea358ab8157d743dc07f12bde5fb34d03a02522 (patch) | |
| tree | fade7a837b75f94df95ac2a00a0775353179155d /src/drivers/nvs.cpp | |
| parent | b0aa9ab391143a8139373e42ea95ccb6ed14ce60 (diff) | |
| download | tangara-fw-0ea358ab8157d743dc07f12bde5fb34d03a02522.tar.gz | |
Make the onboarding flow basically work. Much still to do!
Diffstat (limited to 'src/drivers/nvs.cpp')
| -rw-r--r-- | src/drivers/nvs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/nvs.cpp b/src/drivers/nvs.cpp index 0a466b16..11dde08c 100644 --- a/src/drivers/nvs.cpp +++ b/src/drivers/nvs.cpp @@ -190,7 +190,7 @@ auto NvsStorage::AmpCurrentVolume(uint16_t val) -> std::future<bool> { auto NvsStorage::HasShownOnboarding() -> std::future<bool> { return writer_->Dispatch<bool>([&]() -> bool { - uint8_t out = true; + uint8_t out = false; nvs_get_u8(handle_, kKeyOnboarded, &out); return out; }); |
