Skip to content
Commit 673b4b43 authored by Martí Bolívar's avatar Martí Bolívar Committed by Carles Cufi
Browse files

samples: nvs: fix flash device access



Get the correct flash device from the storage partition node.
The current code is relying on the invalid assumption that the
chosen zephyr,flash-controller node is the device which contains
the storage partition.

Reported-by: default avatarDominik Ermel <dominik.ermel@nordicsemi.no>
Signed-off-by: default avatarMartí Bolívar <marti.bolivar@nordicsemi.no>
parent e30cfa42
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment