Refactor: Add nconfig_value_is_not_set helper and simplify default value checks

Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
This commit is contained in:
2025-09-01 10:09:06 +09:00
parent 0af0d8d465
commit 58879931b8
2 changed files with 10 additions and 3 deletions

View File

@@ -31,6 +31,8 @@ enum nconfig_type
NCONFIG_TYPE_MAX,
};
bool nconfig_value_is_not_set(enum nconfig_type type);
// Write config
esp_err_t nconfig_write(enum nconfig_type type, const char* data);