Skip to content

Commit 870b717

Browse files
committed
Hotfix
1 parent 574d47a commit 870b717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/serial/uart_impls.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pub trait RegisterBlockImpl: crate::Sealed {
100100
macro_rules! uartCommon {
101101
($RegisterBlock:ty) => {
102102
impl RegisterBlockImpl for $RegisterBlock {
103-
fn new<UART: Instance<RegisterBlock = $RegisterBlock>, WORD>(
103+
fn new<UART: Instance<RegisterBlock = Self>, WORD>(
104104
uart: UART,
105105
pins: (impl Into<UART::Tx<PushPull>>, impl Into<UART::Rx<PushPull>>),
106106
config: impl Into<config::Config>,

0 commit comments

Comments
 (0)