Skip to content
Commit 62a1b8a3 authored by Eric Mechin's avatar Eric Mechin Committed by Daniel DeGrasse
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>
parent f8b4a041
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment