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 de05901 commit 1facd18Copy full SHA for 1facd18
nrf-hal-common/src/uarte.rs
@@ -120,7 +120,7 @@ where
120
// NB Safety: This is taken from Nordic's driver -
121
// https://github.com/NordicSemiconductor/nrfx/blob/master/drivers/src/nrfx_uarte.c#L197
122
if unsafe { core::ptr::read_volatile(txenable_reg) } == 1 {
123
- self.0.tasks_stoprx.write(|w| unsafe { w.bits(1) });
+ self.0.tasks_stoptx.write(|w| unsafe { w.bits(1) });
124
}
125
126
0 commit comments