From 3aa7722e1626e43f1d624d94640f49e6ab261c43 Mon Sep 17 00:00:00 2001 From: Vincent Dupont <vincent@otakeys.com> Date: Tue, 10 Jul 2018 15:37:24 +0200 Subject: [PATCH] cpu/stm32f0: remove conflicting enum from vendor header --- cpu/stm32f0/include/vendor/stm32f0xx.h | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/cpu/stm32f0/include/vendor/stm32f0xx.h b/cpu/stm32f0/include/vendor/stm32f0xx.h index b3431fd2f8..a0b38e94e4 100644 --- a/cpu/stm32f0/include/vendor/stm32f0xx.h +++ b/cpu/stm32f0/include/vendor/stm32f0xx.h @@ -165,32 +165,6 @@ #error "Please select first the target STM32F0xx device used in your application (in stm32f0xx.h file)" #endif -/** - * @} - */ - -/** @addtogroup Exported_types - * @{ - */ -typedef enum -{ - RESET = 0, - SET = !RESET -} FlagStatus, ITStatus; - -typedef enum -{ - DISABLE = 0, - ENABLE = !DISABLE -} FunctionalState; -#define IS_FUNCTIONAL_STATE(STATE) (((STATE) == DISABLE) || ((STATE) == ENABLE)) - -typedef enum -{ - ERROR = 0, - SUCCESS = !ERROR -} ErrorStatus; - /** * @} */ -- GitLab