Skip to content

Commit 1facd18

Browse files
author
Jonathan Pallant (42 Technology)
committed
Stop the right task in the anomaly workaround.
1 parent de05901 commit 1facd18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nrf-hal-common/src/uarte.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ where
120120
// NB Safety: This is taken from Nordic's driver -
121121
// https://github.com/NordicSemiconductor/nrfx/blob/master/drivers/src/nrfx_uarte.c#L197
122122
if unsafe { core::ptr::read_volatile(txenable_reg) } == 1 {
123-
self.0.tasks_stoprx.write(|w| unsafe { w.bits(1) });
123+
self.0.tasks_stoptx.write(|w| unsafe { w.bits(1) });
124124
}
125125

126126
// NB Safety: This is taken from Nordic's driver -

0 commit comments

Comments
 (0)