We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfc84ff commit d71389bCopy full SHA for d71389b
src/usb.rs
@@ -46,7 +46,7 @@ unsafe impl UsbPeripheral for USB {
46
const EP_MEMORY_SIZE: usize = 1024;
47
48
fn enable() {
49
- let rcc = unsafe { (&*RCC::ptr()) };
+ let rcc = unsafe { &*RCC::ptr() };
50
51
cortex_m::interrupt::free(|_| {
52
// Enable USB peripheral
0 commit comments