nvs: fix overwriting with truncated data
When overwriting an NVS item with data that was a truncated version of
the existing data, the "is this already saved" logic was ignoring the
differing lengths and not saving the new item because the data matched.
Fixes #19250
Signed-off-by:
Justin Brzozoski <justin.brzozoski@signal-fire.com>
Loading
Please sign in to comment