changes after review

This commit is contained in:
Folkert 2021-06-05 11:37:11 +02:00
parent 3f74c557ed
commit d0dd0f007a

View File

@ -491,15 +491,14 @@ where
self.set_rx_buffer(buffer)?;
}
// Reset and enable the events
// Reset events
r.events_stopped.reset();
r.events_error.reset();
r.events_lasttx.reset();
self.clear_errorsrc();
r.intenset.write(|w| w.stopped().set());
r.intenset.write(|w| w.error().set());
r.intenset.write(|w| w.lasttx().set());
// Enable events
r.intenset.write(|w| w.stopped().set().error().set());
// Start write+read operation.
r.shorts.write(|w| {