From fd35115dd3729dda54b0eb36dfaeb83fd84a2f88 Mon Sep 17 00:00:00 2001 From: Niklas Cathor Date: Sun, 6 Aug 2023 14:55:05 +0200 Subject: [PATCH] re-run formatter --- rp2040-hal/src/usb/host.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rp2040-hal/src/usb/host.rs b/rp2040-hal/src/usb/host.rs index 843d47d88..e523bcdcb 100644 --- a/rp2040-hal/src/usb/host.rs +++ b/rp2040-hal/src/usb/host.rs @@ -146,8 +146,7 @@ impl HostBus for UsbHostBus { critical_section::with(|cs| { let inner = self.inner.borrow(cs).borrow_mut(); inner.ctrl_reg.addr_endp.write(|w| unsafe { - w.address() - .bits(dev_addr.map(u8::from).unwrap_or(0)); + w.address().bits(dev_addr.map(u8::from).unwrap_or(0)); w.endpoint().bits(endpoint) });