From 16c3f541e80d77f4adc1a69f15e82c23d7947138 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 15 Apr 2023 21:50:08 -0700 Subject: [PATCH] altos/stmf0: Remove some incorrect defines in stm32f0.h These got copied from the stm32l15x bits Signed-off-by: Keith Packard --- src/stmf0/stm32f0.h | 12 ------------ 1 file changed, 12 deletions(-) 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 -- 2.30.2