From: Keith Packard Date: Sun, 16 Apr 2023 04:50:08 +0000 (-0700) Subject: altos/stmf0: Remove some incorrect defines in stm32f0.h X-Git-Tag: 1.9.16~1^2~9 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=16c3f541e80d77f4adc1a69f15e82c23d7947138 altos/stmf0: Remove some incorrect defines in stm32f0.h These got copied from the stm32l15x bits Signed-off-by: Keith Packard --- diff --git a/src/stmf0/stm32f0.h b/src/stmf0/stm32f0.h index 1735900c..0e026743 100644 --- a/src/stmf0/stm32f0.h +++ b/src/stmf0/stm32f0.h @@ -212,18 +212,6 @@ extern struct stm_flash stm_flash; #define STM_FLASH_ACR_LATENCY_0 0 #define STM_FLASH_ACR_LATENCY_1 1 -#define STM_FLASH_PECR_OBL_LAUNCH 18 -#define STM_FLASH_PECR_ERRIE 17 -#define STM_FLASH_PECR_EOPIE 16 -#define STM_FLASH_PECR_FPRG 10 -#define STM_FLASH_PECR_ERASE 9 -#define STM_FLASH_PECR_FTDW 8 -#define STM_FLASH_PECR_DATA 4 -#define STM_FLASH_PECR_PROG 3 -#define STM_FLASH_PECR_OPTLOCK 2 -#define STM_FLASH_PECR_PRGLOCK 1 -#define STM_FLASH_PECR_PELOCK 0 - #define STM_FLASH_SR_EOP 5 #define STM_FLASH_SR_WRPRTERR 4 #define STM_FLASH_SR_PGERR 2