cpu/stm32f1: remove ErrorStatus enum from vendor header

This enum conflicts with macro definitions from ccn-lite pkg.
This commit is contained in:
Vincent Dupont 2018-07-09 10:37:14 +02:00
parent 8cdc219e50
commit 1cea9871e0

View File

@ -159,32 +159,6 @@
#error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.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;
/**
* @}
*/