stm8s: fix data unlocking keys

This commit is contained in:
King Kévin 2021-07-21 23:29:21 +02:00
parent 45322fd017
commit 05a9cb09f4
1 changed files with 2 additions and 2 deletions

View File

@ -325,8 +325,8 @@ typedef struct {
#define FLASH_PUKR_KEY1 0x56
#define FLASH_PUKR_KEY2 0xAE
#define FLASH_DUKR (*(volatile uint8_t *)(FLASH_BASE + 0x0A))
#define FLASH_DUKR_KEY1 0x56
#define FLASH_DUKR_KEY2 0xAE
#define FLASH_DUKR_KEY1 0xAE
#define FLASH_DUKR_KEY2 0x56
// Block: ITC