feat: rename method
This commit is contained in:
parent
c4686aafc4
commit
f399278d2c
|
@ -83,7 +83,7 @@ pub(crate) const ONE_MS_16_MGHZ: u32 = 16000;
|
|||
|
||||
impl<const L: usize> UsbDevice<L> {
|
||||
#[inline]
|
||||
pub fn new(pll: PLL, usb: USB_DEVICE) -> UsbBusAllocator<Self> {
|
||||
pub fn create_usb_allocator(pll: PLL, usb: USB_DEVICE) -> UsbBusAllocator<Self> {
|
||||
UsbBusAllocator::new(Self {
|
||||
pll: Mutex::new(pll),
|
||||
usb: Mutex::new(usb),
|
||||
|
|
Loading…
Reference in New Issue