update comments

clueboard_arm
skullY 8 years ago
parent 9f0a978607
commit 7a34575612

@ -1040,13 +1040,13 @@ void send_remote_wakeup(USBDriver *usbp) {
chThdSleepMilliseconds(15);
USB0->CTL &= ~USBx_CTL_RESUME;
#endif /* KINETIS_USB_USE_USB0 */
#elif defined(STM32F0XX) || defined(STM32F1XX) || defined(STM32F3XX) /* K20x || KL2x */
#elif defined(STM32F0XX) || defined(STM32F1XX) || defined(STM32F3XX) /* End K20x || KL2x */
STM32_USB->CNTR |= CNTR_RESUME;
chThdSleepMilliseconds(15);
STM32_USB->CNTR &= ~CNTR_RESUME;
#else /* STM32F0XX || STM32F1XX || STM32F3XX */
#else /* End STM32F0XX || STM32F1XX || STM32F3XX */
#warning Sending remote wakeup packet not implemented for your platform.
#endif /* K20x || KL2x */
#endif
}
/* ---------------------------------------------------------

Loading…
Cancel
Save