revert feat: rename method
This commit is contained in:
doryan 2025-04-28 18:51:16 +03:00
parent 29b3bff247
commit e1711038c5

View File

@ -83,7 +83,7 @@ pub(crate) const ONE_MS_16_MGHZ: u32 = 16000;
impl<const L: usize> UsbDevice<L> {
#[inline]
pub fn create_usb_allocator(pll: PLL, usb: USB_DEVICE) -> UsbBusAllocator<Self> {
pub fn new(pll: PLL, usb: USB_DEVICE) -> UsbBusAllocator<Self> {
UsbBusAllocator::new(Self {
pll: Mutex::new(pll),
usb: Mutex::new(usb),