Whenever a new key-value is about to be stored, the settings perform check whether the value really changes. This check after #9521 patch should work differently as `\0` is not the value terminator anymore. Because of above any value which starts from \0 will be treated mistakenly as a NULL. This patch uses check-length callback instead read-callback which fix the issue and simplify the code a little. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| settings_fcb.c | ||
| settings_file.c | ||
| settings_init.c | ||
| settings_line.c | ||
| settings_priv.h | ||
| settings_store.c | ||
| settings.c | ||