Skip to content

Commit 8b60e30

Browse files
committed
Fix mismatched fn name #532
1 parent e9a10d7 commit 8b60e30

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/pacext/uart.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,13 @@ macro_rules! impl_ext {
168168
}
169169

170170
impl reg::SrR for $uart::sr::SRrs {
171+
#[inline(always)]
172+
fn nf(r: &R<Self>) -> usart1::sr::NE_R {
173+
r.ne()
174+
}
171175
impl_read! {
172176
pe -> usart1::sr::PE_R;
173177
fe -> usart1::sr::FE_R;
174-
nf -> usart1::sr::NE_R;
175178
ore -> usart1::sr::ORE_R;
176179
idle -> usart1::sr::IDLE_R;
177180
rxne -> usart1::sr::RXNE_R;

0 commit comments

Comments
 (0)