From 457afa6202fe9f8e6accb65411629172bb32c41b Mon Sep 17 00:00:00 2001 From: Michael Walker Date: Wed, 2 May 2018 03:36:12 -0700 Subject: Remove duplication --- os/hal/ports/KINETIS/LLD/hal_usb_lld.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'os/hal/ports') diff --git a/os/hal/ports/KINETIS/LLD/hal_usb_lld.h b/os/hal/ports/KINETIS/LLD/hal_usb_lld.h index ed65b3b..bd4eb39 100644 --- a/os/hal/ports/KINETIS/LLD/hal_usb_lld.h +++ b/os/hal/ports/KINETIS/LLD/hal_usb_lld.h @@ -355,25 +355,6 @@ struct USBDriver { /* Driver macros. */ /*===========================================================================*/ -/** - * @brief Host wake-up procedure duration. - */ -#if !defined(USB_HOST_WAKEUP_DURATION) || defined(__DOXYGEN__) -#define USB_HOST_WAKEUP_DURATION 2 -#endif - -/** - * @brief Start of host wake-up procedure. - * - * @notapi - */ -#define usb_lld_wakeup_host(usbp) \ - do{ \ - USB0->CTL |= USBx_CTL_RESUME; \ - osalThreadSleepMilliseconds(USB_HOST_WAKEUP_DURATION); \ - USB0->CTL &= ~USBx_CTL_RESUME; \ - } while (false) - /** * @brief Returns the current frame number. * -- cgit v1.2.3