aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias <[email protected]>2022-09-09 10:49:47 +0200
committerDario Nieuwenhuis <[email protected]>2022-09-26 20:34:55 +0200
commitd6af0f62860f79f790d6d1e042f36c8623328ab1 (patch)
tree8d09b0fca7aa4e0b784271a57801592cba9463b9
parentf2239d34cc26bb147d136d312b8b6af1020d4e0f (diff)
Formatting
-rw-r--r--embassy-rp/src/uart/mod.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/embassy-rp/src/uart/mod.rs b/embassy-rp/src/uart/mod.rs
index 67e24b605..76ecdf7ac 100644
--- a/embassy-rp/src/uart/mod.rs
+++ b/embassy-rp/src/uart/mod.rs
@@ -544,7 +544,6 @@ mod eh1 {
544 self.blocking_flush().map_err(nb::Error::Other) 544 self.blocking_flush().map_err(nb::Error::Other)
545 } 545 }
546 } 546 }
547
548} 547}
549 548
550#[cfg(all( 549#[cfg(all(
@@ -607,7 +606,6 @@ mod buffered;
607#[cfg(feature = "nightly")] 606#[cfg(feature = "nightly")]
608pub use buffered::*; 607pub use buffered::*;
609 608
610
611mod sealed { 609mod sealed {
612 use super::*; 610 use super::*;
613 611
@@ -649,7 +647,7 @@ macro_rules! impl_instance {
649 impl sealed::Instance for peripherals::$inst { 647 impl sealed::Instance for peripherals::$inst {
650 const TX_DREQ: u8 = $tx_dreq; 648 const TX_DREQ: u8 = $tx_dreq;
651 const RX_DREQ: u8 = $rx_dreq; 649 const RX_DREQ: u8 = $rx_dreq;
652 650
653 type Interrupt = crate::interrupt::$irq; 651 type Interrupt = crate::interrupt::$irq;
654 652
655 fn regs() -> pac::uart::Uart { 653 fn regs() -> pac::uart::Uart {