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> |
||
|---|---|---|
| .. | ||
| include/settings | ||
| src | ||
| CMakeLists.txt | ||
| Kconfig | ||