From becb32061d0c7f81f462004f0ec4e46c0e2e3fa4 Mon Sep 17 00:00:00 2001 From: bcostm Date: Tue, 30 Oct 2018 09:44:17 +0100 Subject: [PATCH] STM32F4 USB: remove useless macro --- usb/device/targets/TARGET_STM/USBPhy_STM32.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/usb/device/targets/TARGET_STM/USBPhy_STM32.cpp b/usb/device/targets/TARGET_STM/USBPhy_STM32.cpp index 9f1c78d541..c37720fb96 100644 --- a/usb/device/targets/TARGET_STM/USBPhy_STM32.cpp +++ b/usb/device/targets/TARGET_STM/USBPhy_STM32.cpp @@ -24,11 +24,6 @@ #define USBSTM_HAL_UNSUPPORTED #endif -/* STM32F4 family without USB_STM_HAL use another HAL */ -#if defined(TARGET_STM) && defined(TARGET_STM32F4) && !defined(USB_STM_HAL) -#define USBSTM_HAL_UNSUPPORTED -#endif - #ifndef USBSTM_HAL_UNSUPPORTED #include "USBPhyHw.h" #include "pinmap.h"