From dc793e92b45f375ee8b995b88e8f180e0dc5d190 Mon Sep 17 00:00:00 2001
From: Vincent Dupont <vincent@otakeys.com>
Date: Tue, 10 Jul 2018 15:37:49 +0200
Subject: [PATCH] cpu/stm32f4: remove conflicting enum from vendor header

---
 cpu/stm32f4/include/vendor/stm32f4xx.h | 26 --------------------------
 1 file changed, 26 deletions(-)

diff --git a/cpu/stm32f4/include/vendor/stm32f4xx.h b/cpu/stm32f4/include/vendor/stm32f4xx.h
index a704be72b9..ec6f3b4c1c 100644
--- a/cpu/stm32f4/include/vendor/stm32f4xx.h
+++ b/cpu/stm32f4/include/vendor/stm32f4xx.h
@@ -193,32 +193,6 @@
  #error "Please select first the target STM32F4xx device used in your application (in stm32f4xx.h file)"
 #endif
 
-/**
-  * @}
-  */
-
-/** @addtogroup Exported_types
-  * @{
-  */
-typedef enum
-{
-  RESET = 0U,
-  SET = !RESET
-} FlagStatus, ITStatus;
-
-typedef enum
-{
-  DISABLE = 0U,
-  ENABLE = !DISABLE
-} FunctionalState;
-#define IS_FUNCTIONAL_STATE(STATE) (((STATE) == DISABLE) || ((STATE) == ENABLE))
-
-typedef enum
-{
-  ERROR = 0U,
-  SUCCESS = !ERROR
-} ErrorStatus;
-
 /**
   * @}
   */
-- 
GitLab