parent
29b3bff247
commit
e1711038c5
|
@ -83,7 +83,7 @@ pub(crate) const ONE_MS_16_MGHZ: u32 = 16000;
|
||||||
|
|
||||||
impl<const L: usize> UsbDevice<L> {
|
impl<const L: usize> UsbDevice<L> {
|
||||||
#[inline]
|
#[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 {
|
UsbBusAllocator::new(Self {
|
||||||
pll: Mutex::new(pll),
|
pll: Mutex::new(pll),
|
||||||
usb: Mutex::new(usb),
|
usb: Mutex::new(usb),
|
||||||
|
|
Loading…
Reference in New Issue