aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/USBv1
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-11-28 13:35:00 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-11-28 13:35:00 +0000
commit4b40042078a718f168384534af117f567741f941 (patch)
tree4668a78b8830d12ee3ef444b2d643688327baec5 /os/hal/ports/STM32/LLD/USBv1
parentaf649428322234d8816efc0d8ace6c4f481d8250 (diff)
downloadChibiOS-4b40042078a718f168384534af117f567741f941.tar.gz
ChibiOS-4b40042078a718f168384534af117f567741f941.tar.bz2
ChibiOS-4b40042078a718f168384534af117f567741f941.zip
Fixes on USB lld related to STM32L432
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9943 35acf78f-673a-0410-8e92-d51de3d6d3f4
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. */
/*===========================================================================*/