Skip to content

Commit aafd9c2

Browse files
authored
Merge pull request #533 from TinyHai/fix
Fix mismatched fn name
2 parents e9a10d7 + 8b60e30 commit aafd9c2

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)