mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-24 13:11:30 +11:00
Typo in comments.
This commit is contained in:
parent
25d87b838b
commit
f0fc4ed3ad
|
@ -104,8 +104,9 @@ fn main() -> ! {
|
||||||
USB_BUS = Some(usb_bus);
|
USB_BUS = Some(usb_bus);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Grab a reference to the USB Bus allocator. We must promise not to take
|
// Grab a reference to the USB Bus allocator. We are promising to the
|
||||||
// mutable access to this global variable whilst the reference exists!
|
// compiler not to take mutable access to this global variable whilst this
|
||||||
|
// reference exists!
|
||||||
let bus_ref = unsafe { USB_BUS.as_ref().unwrap() };
|
let bus_ref = unsafe { USB_BUS.as_ref().unwrap() };
|
||||||
|
|
||||||
// Set up the USB Communications Class Device driver
|
// Set up the USB Communications Class Device driver
|
||||||
|
|
|
@ -102,9 +102,9 @@ fn main() -> ! {
|
||||||
USB_BUS = Some(usb_bus);
|
USB_BUS = Some(usb_bus);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Grab a reference to the USB Bus allocator. We promising to the compiler
|
// Grab a reference to the USB Bus allocator. We are promising to the
|
||||||
// not to take mutable access to this global variable whilst this reference
|
// compiler not to take mutable access to this global variable whilst this
|
||||||
// exists!
|
// reference exists!
|
||||||
let bus_ref = unsafe { USB_BUS.as_ref().unwrap() };
|
let bus_ref = unsafe { USB_BUS.as_ref().unwrap() };
|
||||||
|
|
||||||
// Set up the USB HID Class Device driver, providing Mouse Reports
|
// Set up the USB HID Class Device driver, providing Mouse Reports
|
||||||
|
|
Loading…
Reference in a new issue