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