aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/USBv1
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/STM32/LLD/USBv1')
-rw-r--r--os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.h b/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.h
index 4872cc9c4..7971189ae 100644
--- a/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.h
+++ b/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.h
@@ -448,16 +448,6 @@ struct USBDriver {
#endif
#endif /* STM32L1XX */
-#if defined(STM32L432xx)
-#if !defined(usb_lld_connect_bus)
-#define usb_lld_connect_bus(usbp) (USB->BCDR |= USB_BCDR_DPPU)
-#endif
-
-#if !defined(usb_lld_disconnect_bus)
-#define usb_lld_disconnect_bus(usbp) (USB->BCDR &= ~USB_BCDR_DPPU)
-#endif
-#endif /* STM32L432xx */
-
/*===========================================================================*/
/* External declarations. */
/*===========================================================================*/