Clearing the PSIZE bits in the FLASH CR should not invert the mask defined in stm32f4xx_hal_flash.h (#define CR_PSIZE_MASK 0xFFFFFCFFU) Signed-off-by: Justin Brederveld <jmbrederveld@gmail.com>