diff --git a/usb/device/targets/TARGET_NORDIC/TARGET_MCU_NRF52840/USBPhyHw.h b/usb/device/targets/TARGET_NORDIC/TARGET_MCU_NRF52840/USBPhyHw.h index 9345877141..b25c5d362b 100644 --- a/usb/device/targets/TARGET_NORDIC/TARGET_MCU_NRF52840/USBPhyHw.h +++ b/usb/device/targets/TARGET_NORDIC/TARGET_MCU_NRF52840/USBPhyHw.h @@ -18,9 +18,12 @@ #ifndef USBPHYHW_H #define USBPHYHW_H -#include "mbed.h" #include "USBPhy.h" +#include +#include "platform/mbed_power_mgmt.h" + + extern "C" { #include "nrf_drv_usbd.h" #include "nrfx_power.h"