Skip to content
Commit b6a14265 authored by Fabio Utzig's avatar Fabio Utzig Committed by Anas Nashif
Browse files

drivers: flash: at45: fix page-size writing wrap



When writing buffers larger then page-size, there is already a routine
that checks wrap around and adjusts offsets, but this routine was
missing incrementing the data pointer, which would results in
rewriting the same page-size bytes over and over. This adds the proper
increment code.

Signed-off-by: default avatarFabio Utzig <fabio.utzig@nordicsemi.no>
parent f81c5190
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment