better guards

This commit is contained in:
rusefillc 2023-11-04 13:05:08 -04:00
parent 2d9b835768
commit c5c62a42c0
1 changed files with 1 additions and 1 deletions

View File

@ -134,12 +134,12 @@ uintptr_t getFlashAddrSecondCopy() {
#define FLASH_OPTKEY1 (0x08192A3B)
#define FLASH_OPTKEY2 (0x4C5D6E7F)
/*
static void flash_wait_complete()
{
do { __DSB(); } while (FLASH->SR & FLASH_SR_BSY);
}
/*
static void stm32f7_flash_mass_erase_dual_block()
{
FLASH_CR |= FLASH_CR_MER1 | FLASH_CR_MER2;