Skip to content
Commit 62954da7 authored by Göran Weinholt's avatar Göran Weinholt Committed by Anas Nashif
Browse files

drivers: flash: stm32h7: fix clearing of erased sector number



This fixes the logic in erase_sector() for clearing the previous
sector number. The logic was reversed, clearing bits it should not
clear and keeping previous bits of the sector number. In practice this
does not seem to have had any effect on the current functionality, but
it will start to matter later if e.g. flash interrupts are enabled.

Signed-off-by: default avatarGöran Weinholt <goran.weinholt@endian.se>
parent 80ec9386
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment