mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-24 05:01:31 +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);
|
||||
}
|
||||
|
||||
// Grab a reference to the USB Bus allocator. We must promise not to take
|
||||
// mutable access to this global variable whilst the reference exists!
|
||||
// Grab a reference to the USB Bus allocator. We are promising to the
|
||||
// compiler not to take mutable access to this global variable whilst this
|
||||
// reference exists!
|
||||
let bus_ref = unsafe { USB_BUS.as_ref().unwrap() };
|
||||
|
||||
// Set up the USB Communications Class Device driver
|
||||
|
|
|
@ -102,9 +102,9 @@ fn main() -> ! {
|
|||
USB_BUS = Some(usb_bus);
|
||||
}
|
||||
|
||||
// Grab a reference to the USB Bus allocator. We promising to the compiler
|
||||
// not to take mutable access to this global variable whilst this reference
|
||||
// exists!
|
||||
// Grab a reference to the USB Bus allocator. We are promising to the
|
||||
// compiler not to take mutable access to this global variable whilst this
|
||||
// reference exists!
|
||||
let bus_ref = unsafe { USB_BUS.as_ref().unwrap() };
|
||||
|
||||
// Set up the USB HID Class Device driver, providing Mouse Reports
|
||||
|
|
Loading…
Reference in a new issue