Skip to content
Commit cea4a194 authored by Eric Mechin's avatar Eric Mechin Committed by Anas Nashif
Browse files

drivers: flash: STM32WBA flash_stm32wba_fm.c: fix sector erase error



The STM32WBA Flash Manager driver is failing to erase a sector, instead of
erasing one sector, two sectors are erased.
Fix it by correctly calculating the number of sectors to erase

Signed-off-by: default avatarEric Mechin <eric.mechin@st.com>
(cherry picked from commit 62a1b8a3)
parent 6239b574
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment