From 5cc7342d10bfdbbed90d24dca2c8f6d0745a6d86 Mon Sep 17 00:00:00 2001 From: Vincent Dupont <vincent@otakeys.com> Date: Tue, 10 Jul 2018 15:37:32 +0200 Subject: [PATCH] cpu/stm32f2: remove conflicting enum from vendor header --- cpu/stm32f2/include/vendor/stm32f2xx.h | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/cpu/stm32f2/include/vendor/stm32f2xx.h b/cpu/stm32f2/include/vendor/stm32f2xx.h index ef30f1fc3a..32ba8baf4f 100644 --- a/cpu/stm32f2/include/vendor/stm32f2xx.h +++ b/cpu/stm32f2/include/vendor/stm32f2xx.h @@ -130,32 +130,6 @@ #error "Please select first the target STM32F2xx device used in your application (in stm32f2xx.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