1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

stm32_common/flashpage: remove repeated command

This commit is contained in:
francisco 2019-06-18 11:07:22 +02:00
parent eb78d35096
commit 5e709edb31

View File

@ -99,7 +99,6 @@ static void _erase_page(void *page_addr)
*dst = (uint32_t)0;
#elif defined(CPU_FAM_STM32L4)
DEBUG("[flashpage] erase: setting the page address\n");
CNTRL_REG |= FLASH_CR_PER;
uint8_t pn;
#if FLASHPAGE_NUMOF <= 256
pn = (uint8_t)flashpage_page(dst);