stm32g0: flash: fix flash keys.

This commit is contained in:
Guillaume Revaillot 2020-04-05 17:07:19 +02:00 committed by Karl Palsson
parent 7cb7d51273
commit dc98e2e6d9
1 changed files with 4 additions and 4 deletions

View File

@ -80,9 +80,9 @@
@{*/
/** FLASH_KEYR_KEY1 Flash key 1 **/
#define FLASH_KEYR_KEY1 ((uint32_t)0x08192a3b)
#define FLASH_KEYR_KEY1 ((uint32_t)0x45670123)
/** FLASH_KEYR_KEY2 Flash key 2 **/
#define FLASH_KEYR_KEY2 ((uint32_t)0x4c5d6e7f)
#define FLASH_KEYR_KEY2 ((uint32_t)0xcdef89ab)
/**@}*/
@ -90,9 +90,9 @@
@{*/
/** FLASH_OPTKEYR_KEY1 Option key 1 **/
#define FLASH_OPTKEYR_KEY1 FLASH_KEYR_KEY1
#define FLASH_OPTKEYR_KEY1 ((uint32_t)0x08192a3b)
/** FLASH_OPTKEYR_KEY2 Option key 2 **/
#define FLASH_OPTKEYR_KEY2 FLASH_KEYR_KEY2
#define FLASH_OPTKEYR_KEY2 ((uint32_t)0x4c5d6e7f)
/**@}*/