Skip to content
Commit e81d10f2 authored by Eric Mechin's avatar Eric Mechin Committed by Benjamin Cabé
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 7074e6bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment