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 fbe9d3e commit 09cc52eCopy full SHA for 09cc52e
nrf-hal-common/src/uarte.rs
@@ -613,6 +613,7 @@ pub mod serial {
613
if endtx || txstopped {
614
// We are done, cleanup the state.
615
uarte.events_txstarted.reset();
616
+ self.written = 0;
617
// Conservative compiler fence to prevent optimizations that do not
618
// take in to account actions by DMA. The fence has been placed here,
619
// after all possible DMA actions have completed.
0 commit comments