From e1711038c5f30287974b0c2012dfb2cc6bde3cf9 Mon Sep 17 00:00:00 2001 From: doryan Date: Mon, 28 Apr 2025 18:51:16 +0300 Subject: [PATCH] revert f399278d2c186eba94e89caa76ead1940f5667e3 revert feat: rename method --- src/types/usb_device.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/usb_device.rs b/src/types/usb_device.rs index 435db71..ac4be91 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 create_usb_allocator(pll: PLL, usb: USB_DEVICE) -> UsbBusAllocator { + pub fn new(pll: PLL, usb: USB_DEVICE) -> UsbBusAllocator { UsbBusAllocator::new(Self { pll: Mutex::new(pll), usb: Mutex::new(usb),