aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2021-05-10 20:20:35 +0200
committerDario Nieuwenhuis <[email protected]>2021-05-10 23:06:25 +0200
commit0a3c2365107999b785eb74c9a7d2ff4da2377bb9 (patch)
tree581873f819dd3e6d68d32f227d68c355ff950fe1
parente9eb3ce6c1908710513e8876b42c28024287ce11 (diff)
Improve comment
-rw-r--r--embassy-nrf/src/uarte.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-nrf/src/uarte.rs b/embassy-nrf/src/uarte.rs
index b814b9ae9..04907fb56 100644
--- a/embassy-nrf/src/uarte.rs
+++ b/embassy-nrf/src/uarte.rs
@@ -283,8 +283,8 @@ impl<'d, T: Instance> Write for Uarte<'d, T> {
283 } 283 }
284} 284}
285 285
286/// Interface to an UARTE peripheral that uses timers and PPI to emulate 286/// Interface to an UARTE peripheral that uses an additional timer and two PPI channels,
287/// ReadUntilIdle. 287/// allowing it to implement the ReadUntilIdle trait.
288pub struct UarteWithIdle<'d, U: Instance, T: TimerInstance> { 288pub struct UarteWithIdle<'d, U: Instance, T: TimerInstance> {
289 uarte: Uarte<'d, U>, 289 uarte: Uarte<'d, U>,
290 timer: T, 290 timer: T,