Skip to content

Commit

Permalink
re-run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
nilclass committed Aug 6, 2023
1 parent 3e96567 commit fd35115
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rp2040-hal/src/usb/host.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
});

Expand Down

0 comments on commit fd35115

Please sign in to comment.