stm32l: flash: rename option unlock keys or consistency

Paves the way for using common code.
This commit is contained in:
Karl Palsson
2018-07-22 21:00:23 +00:00
parent 4517ec81fd
commit c5a3350a7d
2 changed files with 4 additions and 4 deletions

View File

@@ -72,8 +72,8 @@ void flash_lock_progmem(void)
*/
void flash_unlock_option_bytes(void)
{
FLASH_OPTKEYR = FLASH_OPTKEYR_OPTKEY1;
FLASH_OPTKEYR = FLASH_OPTKEYR_OPTKEY2;
FLASH_OPTKEYR = FLASH_OPTKEYR_KEY1;
FLASH_OPTKEYR = FLASH_OPTKEYR_KEY2;
}
void flash_lock_option_bytes(void)