diff options
author | Michael Walker <walkerstop@gmail.com> | 2018-05-02 03:36:12 -0700 |
---|---|---|
committer | Michael Walker <walkerstop@gmail.com> | 2018-05-02 03:36:12 -0700 |
commit | 457afa6202fe9f8e6accb65411629172bb32c41b (patch) | |
tree | aad7968d8850577ea5d9ddb90915d3892845a9aa /os/hal/ports/KINETIS/LLD | |
parent | 4e57174758ee80131ac8b1cf2c1c6588ae184bba (diff) | |
download | ChibiOS-Contrib-457afa6202fe9f8e6accb65411629172bb32c41b.tar.gz ChibiOS-Contrib-457afa6202fe9f8e6accb65411629172bb32c41b.tar.bz2 ChibiOS-Contrib-457afa6202fe9f8e6accb65411629172bb32c41b.zip |
Remove duplication
Diffstat (limited to 'os/hal/ports/KINETIS/LLD')
-rw-r--r-- | os/hal/ports/KINETIS/LLD/hal_usb_lld.h | 19 |
1 files changed, 0 insertions, 19 deletions
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 @@ -356,25 +356,6 @@ struct USBDriver { /*===========================================================================*/
/**
- * @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.
*
* @param[in] usbp pointer to the @p USBDriver object
|