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 574d47a commit 870b717Copy full SHA for 870b717
src/serial/uart_impls.rs
@@ -100,7 +100,7 @@ pub trait RegisterBlockImpl: crate::Sealed {
100
macro_rules! uartCommon {
101
($RegisterBlock:ty) => {
102
impl RegisterBlockImpl for $RegisterBlock {
103
- fn new<UART: Instance<RegisterBlock = $RegisterBlock>, WORD>(
+ fn new<UART: Instance<RegisterBlock = Self>, WORD>(
104
uart: UART,
105
pins: (impl Into<UART::Tx<PushPull>>, impl Into<UART::Rx<PushPull>>),
106
config: impl Into<config::Config>,
0 commit comments