Update hal_usb_lld.h

This commit is contained in:
Joy Lee 2022-06-29 16:01:50 +08:00 committed by GitHub
parent af3b93a51f
commit c0510a68b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -472,6 +472,7 @@ struct USBDriver {
WB32_USB->POWER |= USB_POWER_RESUME; \
osalThreadSleepMilliseconds(WB32_USB_HOST_WAKEUP_DURATION); \
WB32_USB->POWER &= ~USB_POWER_RESUME; \
_usb_wakeup(&USBD1); \
} while (false)
/*===========================================================================*/