diff --git a/src/types/usb_device.rs b/src/types/usb_device.rs index 8856967..e10b858 100644 --- a/src/types/usb_device.rs +++ b/src/types/usb_device.rs @@ -83,7 +83,7 @@ pub(crate) const ONE_MS_16_MGHZ: u32 = 16000; impl UsbDevice { #[inline] - pub fn new(pll: PLL, usb: USB_DEVICE) -> UsbBusAllocator { + pub fn create_usb_allocator(pll: PLL, usb: USB_DEVICE) -> UsbBusAllocator { UsbBusAllocator::new(Self { pll: Mutex::new(pll), usb: Mutex::new(usb),