From 022d0ecb9cdfec68bce0987d272e0fea693ce7d5 Mon Sep 17 00:00:00 2001 From: Joy Lee Date: Wed, 29 Jun 2022 16:03:31 +0800 Subject: [PATCH] Update hal_usb_lld.h --- os/hal/ports/WB32/LLD/USBv1/hal_usb_lld.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/hal/ports/WB32/LLD/USBv1/hal_usb_lld.h b/os/hal/ports/WB32/LLD/USBv1/hal_usb_lld.h index 2385b3eb..6c052ec4 100644 --- a/os/hal/ports/WB32/LLD/USBv1/hal_usb_lld.h +++ b/os/hal/ports/WB32/LLD/USBv1/hal_usb_lld.h @@ -472,7 +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); \ + _usb_wakeup(usbp); \ } while (false) /*===========================================================================*/