commit | 39a35a6f81f19e3e8bebe20e6463b7bccb915400 | [log] [tgz] |
---|---|---|
author | Eric Mechin <eric.mechin@st.com> | Fri Jun 20 11:18:30 2025 +0200 |
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | Tue Jun 24 20:38:33 2025 +0000 |
tree | 47a6cb421848110f0eb4554e358eb8d582f758c9 | |
parent | 6753a86f2770e04cec1cda13c3d4f7b9f810cc8c [diff] |
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: Eric Mechin <eric.mechin@st.com> (cherry picked from commit 62a1b8a306ba011f4bc8576dd93c9e2b4cbbd786)