From 479cfc1fb4a39cb8398b309805eef93ba33e76fe Mon Sep 17 00:00:00 2001 From: Roger Clark Date: Fri, 13 Apr 2018 16:47:15 +1000 Subject: [PATCH] Removed unused ErrorStatus enum from usb_type.h as its redundant and the definition of SUCCESS clashed with other definitions --- STM32F1/system/libmaple/usb/usb_lib/usb_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/STM32F1/system/libmaple/usb/usb_lib/usb_type.h b/STM32F1/system/libmaple/usb/usb_lib/usb_type.h index 34b3bf5..02bd5ef 100644 --- a/STM32F1/system/libmaple/usb/usb_lib/usb_type.h +++ b/STM32F1/system/libmaple/usb/usb_lib/usb_type.h @@ -62,7 +62,7 @@ typedef enum { RESET = 0, SET = !RESET } FlagStatus, ITStatus; typedef enum { DISABLE = 0, ENABLE = !DISABLE} FunctionalState; -typedef enum { ERROR = 0, SUCCESS = !ERROR} ErrorStatus; +//typedef enum { ERROR = 0, SUCCESS = !ERROR} ErrorStatus; /* Exported macro ------------------------------------------------------------*/ /* Exported functions ------------------------------------------------------- */