src.nth.io/

summaryrefslogtreecommitdiff
path: root/main/nvs_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/nvs_config.h')
-rw-r--r--main/nvs_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/nvs_config.h b/main/nvs_config.h
index b90577d..6157517 100644
--- a/main/nvs_config.h
+++ b/main/nvs_config.h
@@ -4,8 +4,8 @@
// Read the persisted config into viewport_state. Safe to call on a fresh
// device: missing keys keep their first-boot defaults from viewport_state_init.
-// Sets state = ASLEEP and configured = true if a viewport name + scrypted URL
-// are both present.
+// Recomputes `configured` (true iff a scrypted URL is present); run state
+// is untouched (stays at the boot default).
esp_err_t nvs_config_load(void);
// Persist the current viewport_state to NVS atomically. The caller is expected